I have a program that i have to do for school. i have to convert octal, hex, and binary to its standard output
and print out an how many overflows are read from the file
I have to read from: example 0b0101 -012 0x05A -123
the output should be something like this
Binary 5
octal -10
Decimal...
how about if i would use this instead atoi(int(c)) do you guys think this would work. i am at work right now but i am
going to work on my program when i get home. the reason that i cannot declare c as integer is because i am also reading alphas from the files. i could do it all in hex but that...
I need to convert c to an integer that was i know which link to delete from the list. for example if i read a 4 from the file then i delete the 4th link from the list. i am trying to use atoi with c but i get an error.is there any other way i can parse the char c to an int? yes c is declared as...
i am using fgetc to read from a file.also my project uses a double link list here is a sample of my program c=fgetc here is the rest
else if (isdigit(c))//this use to delete from the link list
{
//delete();
//del=atoi(c);
//delNum=c;
if(del==0)
continue...
Thanks JFOUSHEE! I will try this out today when I get home from work I will let you know how it goes. I cant believe I did not think about this. I use keypress quite a bit. I am pretty sure this will work. Nail the code
Hi I am writing a program and I am using a combo box as one of my controls. I want to set a maxlength that a user can only enter 20 characters per entry. does anyone know how i can go about this since the combo box does not have a MaxLength property? Nail the code
your access driver is at fault. go to your control panel and open odbc data sources. after you open odbc select the drivers tab and click microsoft access driver 4.0 (.mdb) then click apply. this should take care of you problem. also make sure that you test this connection with you ado data...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.