I want to know why a language like QBasic is shunned as a reasonable interface for SIMPLE uses with a program in that it reduces data type problems.
to the point why not make a standard on...
Type: Posts; User: guyfromfl
I want to know why a language like QBasic is shunned as a reasonable interface for SIMPLE uses with a program in that it reduces data type problems.
to the point why not make a standard on...
Ok,
let me start by saying I get it.. a variable that points to the address of a value another variable holds.
the real down fall in all texts and tutorials I've read is where you would...
I was told to use fgets instead of scanf because of the trailing end of string char.
I used it now im still getting it? The last 3 replies show functions to work around that.
im goin back to...
So, just out of curiosity, what are the advantages to these header files, no matter what method you use (scanf, fgets, and whatever else [I kind of understand the fgets as its for file reading and...
is it possible to control new lines with fputs?
for example:
for (i=0; i<5; i++) {
//puts(bA2008[i].fName);
//dispName(bA2008[i].fName, "");
fputs(bA2008[i].fName, stdout);
awsome...
my beef is just that my is usually very vague, in both programming and file structure. if i accidently save a project/file in the "My" part of windows i usually figure it for dead and...
yes i am wrong. and i see whats going on now, i was at the bar too long i guess...i am right about refering arrays but missed the WHOLE part about how the loop made its own numbers as it went.
im...
so wouldnt that mean he just assigned i[1] the first var?
please tell me how i am wrong with this.
and as a monday night quarterback my third recommendation was to split the outputs up ("\t or...
::ho hum:: i asked where the assigns were earlier. (the 'giving' part)
but back to a good point...
and yes your while explanation is quite eye opening.
im gonna screw with that for a while...
bump::move this mofo
++i means you start i as i + what i was, i++ means you start i as what it was then start adding...correct?
++i would mean you start the loop as 1 if i=0?
quite interesting... im using my java experience and combining it with c's and will def. check that out. because i know in jscript that would be a different result.
this is more like a poll that should be posted some where else, but lets see what happens...
why is the new naming convention "myVariable" why the my?
its bad enough MS wants everthing to be...
wouldn't that start with i[1] not i[0]
start with post incrementing i, also i dunno if you meant to but what about the brackets around the for loop.
what output are you getting compared to what you want?
and what are you giving...
Elysia, you too have been a GREAT asset and as your sig suggests you do know what you are talking about.
I self taught myslef 14/15 years ago qbasic but memory management and declarations were a...
todd, thanks alot. you've been a huge asset. for some reason when i defined the size 2 earlier it didnt work, i guess i had some code wrong somewhere else.
im getting the hang of fgets() now and...
Ok, so i've been researching fgets and seem to get it to work for strings, but single character inputs don't work.
it keeps telling me I am making a pointer from integer without a cast, and if i...
I just read the faq about fgets and todd's way of putting it made it all make sense..
thanks guys. im going to figure out fgets and start using that, that should do it.
I cannot figure out why the gender input is skipped over. i get no warnings and everything is declared.
This is for a school project due tomorrow and i need to know the person's gender for it to...