#include <stdio.h>
int main(void) {
puts("Merry Christmas Everyone!!!");
puts("May we all remember the true meaning of the season.");
}
Type: Posts; User: sangken
#include <stdio.h>
int main(void) {
puts("Merry Christmas Everyone!!!");
puts("May we all remember the true meaning of the season.");
}
maybe he wuz just exaggerating? :D
ok. i think i got the general idea. now how does this endian thingy work? i mean, wuts the difference between using big and lil endian byte orders?
hmmm, what is an Endian? i thought he meant indian or sumthin lol!
can anybody give me a brief description of what an endian is? thanks!
arrow keys have ascii equivalents. try experimenting using getch() :D
will
printf("£%.2f is equal to %.2f euros.", input, output);
work??
Master Dave_Sinkula is the resident sscanf() legend here.. be sure to ask him for help... :D
correct me if im wrong but i think the number 1 indicates that there were "1" successful conversions and successful "storing" of that converted value into the variable exp.
that purpose of that...
if you want to test if a double value was successfully stored into x and an int value was stored into exp, then your thinking is correct. or so i think so... try experimenting so that u'll know for...
jeeze... i wish C were like java, where there are hardly any standard or portability issues becoz of the JVM... hehehe! peace to all java-haters here
okies... my teacher once used flushall() to clear all streams... is this non-portable or non-standard too???
if it's not defined, why does it seem to work? just curious
wow! is C really that powerful?? i kinda thought that C was only famous coz linux was written on it. hmmm... now i know there are lotsa other reasons too!
scanf returns an integer, either the number of values read in, or EOF if an end of file is reached. EOF is a special termination character, specified in stdio.h, which designates the end of a file....
hey, i know this is a noob question but, what the difference between 32-bit compilers and 64-bit ones? please explain in an untechnical manner if you can please. :D
isnt a loop necessary to traverse the list till you find where you want to insert?
hey, im no expert here. but i think you can make almost any type of program in c. almost because c isnt a "modern age" language. you cant make 3d graphic games with c, with surround sound and etc......
ok SKeane, what is your idea of a good assignment? well, not for experts, but for those still learning the language. can you give examples on: (not the overly complicated ones)
1.) loops and...
256 nested loops? wow! thats a whopping O(256) running time.. :(
instead of worrying bout size of the code, is it not better to worry about it's space and time complexity even more? :D
hmm, i've got a suggestion too:
1.) declare four pointers to node, i.e. head, tail, p1, p2 and let them all point to the front of your linked list. if the list is NULL or empty, then do sumthin...
does it take in multiple operands and operators at all at the same time? and use parentheses? well then, an RPN (using stack ADT) calculator is the best solution to you problem. where to find it, try...
ahhh.. jeeze.. didnt know that.. last time i heard (from my instructor), int can only hold those aforementioned values. my my, how ancient am i.
ahh so in modern compilers, int isnt 4bytes big anymore? ok
@quzah... They ARE watching... really familiar.. from which movie did you take that one may i ask?