thanks for saying what the output is
my stupid weird compiler :mad:
Type: Posts; User: Linette
thanks for saying what the output is
my stupid weird compiler :mad:
hi everyone,
i just ran a little test program, but got no output from two cout lines (commented out below) - i traced through it, and saw them get skipped. why is that? (they're not commented out...
it seems i made the right changes; it works now!
thanks for your help anyway :)
thanks elad!
the two for loops you posted - i modified the first one a little so it's fine now for "deleting" the space before a comma. but the second one:
for(c = 0; c < strlen(line); c++)
{
...
thanks, both of you
magos, can you please show me (with code) how to do it?
and hkmp5kpdw (boy you have a difficult username :D), that's right! thanks for reminding me of that..
hi everyone
i'm trying to write a function with header void formatline (char line [50]) that does the following things:
- if a comma in line is preceded by a space, it'll delete that space.
...
dammit, every time i clicked reply, someone had already answered the question!!..
:D
Hi
I don't know if it's the same with everyone else or not, but I hate it when I get that "General Protection Exception blahblahblaablah Processor Fault" message.. I looked into Unhandled...
Shiro:
Thanks for pointing out all the things you found wrong!..
I don't know how to declare variables for the main program in pascal other than the way I did it. (and that's fine by my teacher so...
Wow, I can't believe I got so many replies!.. :D
Has anyone ever seen anything more pathetic than someone having gotten no replies to their post but from themselves?!..
Please help!..
by the way, indentation isn't an issue.. you may assume the pascal file isn't indented (so there's no space at the beginning of lines)..
Hi,
I desperately need advice on planning a program that performs Pascal-to-C++ code conversion. I'm including a sample Pascal program with its C++ equivalent. You don't need to know Pascal - if you...
Can anyone figure out why those last two errors occur?
Thanks
you know your answer makes me wonder if you've actually read any of the replies.. my problem, once again, is that this thing isn't listed as part of the start menu anywhere!..
I know I can't get rid of the program's start menu shortcut if I've already deleted its entire directory ;) (that's why I'm trying to find a way to uninstall it first).. And I did try to uninstall it...
Thanks for replying, and sorry that I posted this here..
But the programs I'm trying to remove aren't listed there (I tried that before).. any other way you might know that works?..
Hi,
I have a stupid problem:
How do I get rid of (uninstall) programs that don't give me an uninstall option? Deleting the directory does remove the files and everything, but how do I remove the...
what's the difference though?
and by the way that one magically worked, but i get this "press any key to continue" message right after the string constant i output.. and the \n character won't...
hi, i have some non-coding questions:
1. with dev-c++ you can create a source file or a project (which will have a source file anyway). what's the difference?
2. is there an advantage to making...
No, actually someone suggested it today, and I asked them if they were sure it's better than Borland C++ 5.5, and they didn't answer..
So it's good?
I used to use Turbo C++ 4.5 and it was great,...
#include <iostream.h>
#include <fstream.h>
#include <string.h>
struct qtype {
char question [80];
char answers [4][80];
char rightanswer;
};
Oh, I just noticed why.
At the end of function getquestion's header, please change that semi-colon to a {.
Does it work well now? the output..?
Thanks a lot.
Oh that just involves pasting the questions and everything I wrote into a .txt (notepad) file, saving it as quiz.txt, and making sure it's in the same folder as the program.
I'd really really...
Please somebody just test that in your compiler!..
:(
hmm, I didn't know that..
So why did you suggest a .h file too?