|
Thanks very much for the help. I'll take a look at those links.
Thanks
|
|
|
|
|
Ylno wrote: I've downloaded an SDK...
The Platform SDK or some other one?
Ylno wrote: Is it still available?
Is what still available?
Ylno wrote: or is there a way to get the Express Editions to use the VC6
compiler?
This makes no sense. Why would you want a new compiler/IDE to use an old compiler?
Ylno wrote: Also: Why would something compile with older versions and not newer ones?
Because the new compilers are more strict in adhereing to the C++ standards.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
DavidCrow wrote: The Platform SDK or some other one?
It's another SDK for compiling scripts into .dll to improve execution time.
DavidCrow wrote: Is what still available?
is the VC6 compiler/IDE available.
DavidCrow wrote: This makes no sense. Why would you want a new compiler/IDE to use an old compiler?
Because I got the code to compile with no problems in VC6 and the resulting .dll worked fine. And it seems too much hassle to
get the code to work with a more recent compiler.
|
|
|
|
|
you can still find copies on eBay (i got one from there, a few years back)
Ylno wrote: Why would something compile with older versions and not newer ones?
MS keeps making the compiler more standards-compliant.
it's probably easiest to just fix the code. most of the compiler changes are pretty easy to accommodate.
|
|
|
|
|
|
So what's the problem exactly?
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
the code's output is not looking right in notepad, it just print out a long list of numbers..
|
|
|
|
|
1dayprogrammer wrote: it just print out a long list of numbers..
Which means what exactly? A long list like:
1 2 3 4 5 6 ...
or
1
2
3
4
5
6
...
Your code appears to write 215 lines to the file. Is that what you are seeing?
Provide an example of what you are seeing vs. what you are wanting.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
it outputs like:
250 34 34
249 34 35
248 34 36
247 34 37
instead of like:
240 45 0 239 45 0 239 45 1 238 45 1 237 46 1 236 46 1 236 46 2 235 46 2 234 46 2 234 46 2 233 46 3 232 46 3 231 47 3 231 47 3 230 47 4 229 47 4 228 47 4 228 47 4 227 47 5 226 47 5 226 48 5 225 48 6 224 48 6 223 48 6 223 48 6 222 48 7 221 48 7 221 48 7 220 49 7 219 49 8 218 49 8 218 49 8 217 49 8 216 49 9 215 49 9 215 50 9 214 50 9 213 50 10 213 50 10 212 50 10 211 50 11 210 50
|
|
|
|
|
You deleted your post. Not much can be done for that sort of mentality. Good luck with your project.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
deleted the post because i was told in earlier replies that i should not put my whole code as it doesnt show the problem error, and that i should only put the error and the snippet or PRE ...which is what i did.
|
|
|
|
|
1dayprogrammer wrote: i was told in earlier replies that i should not put my whole code as it doesnt show the problem error, and that i should only put the error and the snippet or PRE
Yes, this is very much preferred.
1dayprogrammer wrote: which is what i did.
No, you deletd the whole post instead of just editing it. Notice the [Message Deleted] subject?
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
the code's output is not looking right in notepad, it just prints out a long list of numbers..
|
|
|
|
|
In windows new line is "\r\n" not just "\n" (only *nix defaults to only "\n"). While most editors will show you a new line even with just "\n", Notepad is not yet smart enough for that. That's carriage return/line feed - old typewriter way of doing things (come to think of it, what were they thinking? ).
|
|
|
|
|
there are a aubio lib under the unix environment,
now someone try to use the mingw to complied under windows,
then I download the latter, which include the some .exe and dll,
but when I double click the .exe, the Dos window show up and dispear in a while, so I can not see the result,
how should I do to let the exe run , and I can see the result after run.
Do I need to use the VC++ to load the exe and then call the dll, how should I do?
Thanks.
|
|
|
|
|
under widows: click the 'start' button when the menu comes up click 'run'
in the box (Open: ) type 'cmd' then click 'Ok'. This gives you a dos-window.
now find where you have put your .exe file and navigate to it using the dos window.
When you are in the directory where the .exe lives you should be able to type its name
and the program will run and the window won't disappear.
|
|
|
|
|
you will compile the program in VC++ then copy the DLL and LIB file in your exe program where you want to run.
|
|
|
|
|
or you also call the loadlibrary function in the exe application , in loadlibrary function you can directly pass the Dll
may this help
|
|
|
|
|
struct myStruct {
float f;
char ch;
long l;
};
int main(int argc, char* argv[])
{
printf ("%d",sizeof (struct myStruct ));
int* arr=new int[10];
for (int i=0;i<50;i++)
arr[i]=i;
printf("Hello World!\n");
return 0;
}
If you have an idea and I have an idea and if we share to each other then we both have two I ideas.
|
|
|
|
|
You're overrunning the bounds of your arr array by 40*4 bytes, 40 ints. I'm surprised this doesn't crash even in Debug. Please don't run it again until fixed as it's overwriting Bill only knows what and may even kill your Debugger or VS.
rahuld_150183 wrote: for (int i=0;i<50;i++)
Change this to
for (int i=0;i<10;i++) or change your array size to 50 int* arr=new int[50];
Nothing is exactly what it seems but everything with seems can be unpicked.
|
|
|
|
|
Hi,
I want to separate the audio and video from the input avi file.How can i write the code to accomplish this.Are there any projects or url to explain how one can do this.
Regards,
Mayank
|
|
|
|
|
Hi,
I want to separate the audio and video from the input avi file.How can i write the code to accomplish this.Are there any projects or url to explain how one can do this.
Regards,
Mayank
|
|
|
|
|
As with any file types, study the file format and parse the contents
the way you want.
AVI File Format[^]
Also, if you search Code Project articles for "AVI" you'll find lots of code samples.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
I'm working in a VC++ project. In this project F12 key is assigned as a vritual key for doing something. When I press this key, an exception occurs which states that,
"Unhandled exception at 0x7c901230 in Perspective.exe: User breakpoint."
When I break this exception,it goes to disassemply.
What should I do to overcome this exception?
|
|
|
|
|
See here[^]
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|