If you was learning c and wanted to learn how to code a gui for your programs created in c, what gui program would you use ( under linux / not windows )
Type: Posts; User: cigcode
If you was learning c and wanted to learn how to code a gui for your programs created in c, what gui program would you use ( under linux / not windows )
hm i think cause int takes 4 bits of space and all you are doing is removing one as well as unsigned takes 4 bit of space + your value is a low value.. and unsigned works on large ones
but then...
oh hmm sorry i didnt know i did something wrong.. if i did then sorry about that.. some people in this world take things differently.. like you just did.. thank you anyways
i understood it.. yet i didnt understand it.. but it still help me out.. cause now i do understand a bit more then before. From what i understand that i didnt know before is that unsigned will always...
when is the best time to use it.. and what does it really means? i have a gasp definition of it.. but would like to understand it better
thank you again
thank you Thantos, but im still new to c.. do you mind making it a bit more simple for me if you dont mind please
im tring to code a program that will convert decimals in to binaries... but i need it to keep dividing the numbers untill 1 or 0 or untill it cant divide anymore.. but i cant get it to work :( any...
ahh nice i didnt know that if you run the program at the same sec you will get the same result.. nice i ran the program again and it works.. thank you again, see what i was doing is runing it and...
ahh nice.. good to know that i was close, but one more thing, how do i make it so it can give me a different value everytime i run the program.. cause now it works.. but if i was to run the program 2...
Im tring to get a different letter char everytime the program is ran.. but im i dont understand rand function fully yet as im still new to c, can anyone help me out here for a sec and tell me what im...
hey bubba would it be ok if you showed me an example using the dos interupts.. i dont know why.. im truely interested in this dos programming heh.. yet i cant seem to think of how to code such thing
no im using turbo c to do this, as i already know that using a windows compilar.. anyways thank you i will check out the windows forum as well
thank you.. im tring to learn cause i want to code a cdrom player.. but first i need to learn how to open it by calling an interupt command.. hehe. :) thank's again
Anyone knows where i can find a list of dos/bios REG so i know what they mean.. like.
regs.x.ax = 1500;
etc, etc,
I want a list so i know what x or ax and 1500 etc means.. i would add a...
nm sorry ic now
sorry i didnt know it was necesery.. im on windowsxp and im using bloodshed and the dos.h files does not have int86 :( any suggestions?
I want to learn on how to send IOCTL output to drives but i cant find anything in the header files.. does anyone know what header file i can include to get system Regs or etc
example i have this
...
Damn i would of never figured this one out.. heh thank you lets hope in the future i can still remember about this variable :)
nice but where did you get envp from if its not declared in the header file( stdio.h )
Well as you can see im new to c and its going along good sofar. I want to code something useful or something interesting like a program that can show my systems info or something.. I am not smart,...
ic thank you again.
ah ok i get.. but what i dont get is why this is giving me the value of 104 instead of 04 or 2004
struct tm* gettime;
time_t t = time( NULL );
char *now, buff[20];
...
ahh i c what you did.. you also added a NULL in the time fuction.. hmm so NULL == current time correct.. i should of thought of this before its like mysql with a colum of datetime.. now i get it.. 10x
how would i access tm_year in this program
#include <time.h>
#include <stdio.h>
int main( )
{
time_t today;