great
thx
Type: Posts; User: sh4k3
great
thx
so for example, if im using a C library function, like stdio, then i would use
#include <stdio.h> ...
and if im using my own function,
#include "myown.h" ?
when working with multi-modules, im just wondering whats the difference in using the <> brackets vs the double quotations..
ok... i did most of the dirty work, but now im getting some undesired output.
when i enter in an integer, the program converts it to a float...
but the problem is now, when i enter in a float,...
ive been staring at this for the past hour and cant seem to figure it out..
i keep running circles i think ...
maybe i shouldnt have eaten so many burritos for lunch
i think the beans are...
can someone please help me modify this program to read floats instead of ints?
im getting lost in my code :S
if this is not a quick fix, i guess i just have to follow each data type being...
ive made a simple program to read the number of characters entered from the standard input.
i was wondering if someone could help me tweak the program to read from a file instead of from the...
ok great.
thanks for your help!
cant i just create a separate function in the same program im writing, and call that function?
so if im writing code for a certain program.... and i want to test it with a driver program...
i have to incorporate the driver programs code into the certain program that im writing?
im not exactly sure what is meant by that....
what is that?
see this acronym: stfu
ok guys... lets slow down, im a newbie here
i dont even really know for sure what a destructive string reversal is...
all i know is that, if i made an array of characters, and typed out a...
Can anyone suggest a method as to how i can perform a destructive string reversal?
it seems almost everytime i make a change to my code then re-compile, the compiler gets stuck compiling, and im unable to press stop build. the only way i can get out, is to save, then ctrl+alt+del,...
vs input a string from a standard input..
does anyone have any clue as to what that means at all?
ohhhhhh ok, i get it
thanks !
so if i want to display the leading zero's, i can keep type int?
but maybe just display something other than %d?
i have a question about leading zero's...
now, if i have made a program, and declared everything to be of type int
if i prompt the user to enter in an integer value, and the user enters:
...
hmm... thanks for the input
ill definitely try to figure out what is happening there, but i dont think im gonna use that just yet due to the fact that we just introduced arrays today, but thx!
thanks, i havent even really got into arrays yet, so i cant use that
but i have modified my code to WORK properly now!
thanks for everbodies inputs, its much appreciated!!
here is my WORKING...
ok... i modified my program to read in all integers and then display the colours.
The problem is now reading the third integer. With resistor values, the first two integers read result in a...
string input;
string rc;
are u sure thats right?
the text doesnt even change to blue when i do that...
sorry, im a bit confused by what you said...
do u mean to declare my variables as data type string, instead of int?
and for my function prototype, instead of declaing it:
int ResColour(int...