you've helped me alot! my c class will be over as of thursday...so i wont be posting anymore...:(
but thank you all very much for helping me and puting up with my questions...:cool:
Type: Posts; User: watshamacalit
you've helped me alot! my c class will be over as of thursday...so i wont be posting anymore...:(
but thank you all very much for helping me and puting up with my questions...:cool:
how do you convert a binary number to its decimal equivalent? if someone could explain this to me in English that would be helpful. I'm not quite sure what a binary number is or how to go about...
if you are a professional on this board( you get paid for your job )...i was wondering if someone could give me some information on what you majored on in college and what your career is now...i've...
your code helped greatly...i just made a few changes so it could handle user input... but theres one thing i dont understand... why did u use while(1)...i've never seen it like that nor have we...
yes, i always do psudocode, preliminary code work, b4 i start any of my programs...i wrote it out on paper but my mind cant seem to translate it from english to c...thats why i came to the board and...
yes i'm sure it is very simple for a more advanced programmer than i. sometimes i just fail to grasp these simple concepts
right...i know that but i cant seem to figure out how to write that...
my code is still the same as the above...i can't figure out how to get it to work... my problem is in the following function
/*
Parameters : word[] - The word to search
: to_find[] - The...
ok...that doesnt work...it still says ''keep'' is not in ''bookkeeper''
no i am not ''writing this for fun.'' i am writing this the way my teacher specified, so i cant use string.h or strstr( );
my teacher tends to make us do things the hard way
i've been working on this project for the past few days and i cant seem to get it to work...
the function find_word is supposed to determine if one character string exists inside another...
i'm supposed to create a function that checks if an inouted word or number is a palindrome( same forwards and backwards i.e bob )...the only problem that i see in my program is getting the number...
this will help a lot, thanks guys
but why is there a black dot on my posts?
my compiler keeps giving me this error...
C:\Program Files\Microsoft Visual Studio\MyProjects\11\1101x01kt.cpp(25) : error C2664: 'english_number' : cannot convert parameter 1 from 'char [81]' to...
how do i add a space to the end of a string?
this function takes the users first, middle, and last name. then it puts them all together in the string result. the output shows no spaces between...
ok...that solved that error...
but now im getting this warning...
C:\Program Files\Microsoft Visual Studio\MyProjects\11\1101p04kt.cpp(16) : warning C4101: 'result' : unreferenced local...
ok...
i tried yer suggestions but it still doesnt work...
i keep getting this error
C:\Program Files\Microsoft Visual Studio\MyProjects\11\1101p04kt.cpp(54) : error C2440: 'return' : cannot...
This program is supposed to output the digits of a number in English. so if the user inputs 100, the output should be "one, zero, zero".
i cant figure out whats wrong with my program...
...
how do you add ASCII values?
what i mean by this is that you add the ASCII values of the characters entered.
if the user enters "Hello", the ASCII values are "72, 101, 108, 108, 111".
...
how do i add ASCII values? :confused:
my assignment is to write a function that adds the ASCII values of the users input. this is what the function looks like right now...
void hash ( char...