Forgive me for being cynical, but I'm so doubtful about the accuracy of C testing. Sometimes I wonder if the people giving tests know what they're doing.
But yeah, 2 years is not really a long...
Type: Posts; User: MacGyver
Forgive me for being cynical, but I'm so doubtful about the accuracy of C testing. Sometimes I wonder if the people giving tests know what they're doing.
But yeah, 2 years is not really a long...
Learn to indent. Drop the goto abuse. If you're expecting getchar to produce a '\0', that certainly seems like a very weird expectation.
I don't plan on looking at the rest of this until it...
'\0' is an int. Character literals in C are ints.
Yeah, my idea is that you go read the documentation.
On the off chance it's the Windows function, see MSDN's entry on CreateFile. Otherwise, how are we supposed to know what the function does and...
This is his third attempt out of three posts at advertising a website.
Spam bot or idiot? Take your pick.
Could very well be the former.
Sounds like the need to do these weird casts indicates a poor design in general.
Although "stack" and "heap" are implementation concepts and not C concepts.
With such vivid descriptions of your problem, it must be our fault. :rolleyes:
If you want help with the exact details of your IDE, you have to give us more to work on about what you are doing or...
Well, first of all, if the book is teaching you C++, you should probably have put this in the C++ section.
Secondly, if this book is teaching goto for this kind of assignment, it's likely this...
Exactly what I previously said. Check to make sure your project is compiling and linking both .cpp files.
This reminds me of an original Knight Rider episode where Michael asks Bonnie if KITT is...
Sounds like you're not linking both main.cpp and matriz.cpp.
Trying random things to fix an error is not the way to handle an error.
Next time give the full error and an idea of what you're actually doing. What you told is not that helpful other than to...
Sleep() is from the Windows API.
Then C or C++ is probably your best bet... but we're biased.
You should be waterboarded for not properly using code tags.
Would be better in the project section of the forums.
Since you mentioned python twice, I'm assuming you really want python badly. This isn't quite the place to ask about, as you'll probably find...
Isn't that the same thing?
Uh, if it's a DOS program, why are you including Windows.h? The black box of fun that comes with Windows XP isn't really DOS... ;)
You might want to make sure you understand what you're...
Compiling as C90:
: In function `main':
:24: warning: ISO C90 forbids mixed declarations and code
:28: warning: int format, pointer arg (arg 2)
:30: warning: int format, Position arg (arg 2)...
Considering you pretty much ignored the fact this is a C forum and your question is about parallel ports and not C, I'll ignore your statement that you googled.
So with that said, find the...
I knew your original meaning, but I had to get that joke in there. ;)
My understanding, based on the explanation that they gave and the way other people have spoken about this subject, is that...
On a side note...
First line could lead to seg faults, as it's an unsafe way of reading a string. You know how fgets works, so why are you using scanf() here?
Second line is not valid in...
Well, people would be bitter because they lack the access that you have to the videos. :p
On a more serious note, Hulu's website has this to say about why they block support for other countries:...
I told you how to do it right. Do it the OS-specific way. valaris was kind enough to point out some Windows functions.
No, I said it because it's the truth. The proper way of messing with a...