yep..It's a C99 compiler
I'm using "stdio.h"and "string.h" for header
apparently it's not even working within the function...I'm not getting any errors either
Type: Posts; User: Aitra
yep..It's a C99 compiler
I'm using "stdio.h"and "string.h" for header
apparently it's not even working within the function...I'm not getting any errors either
Thanks man!! yeah I'd totally forgotten about strlen
still it's not seem to work though.....the code look like this and I can't find anything logical why it'd go wrong
int IsPalindrom(char...
Hi guys
I'm trying to run so called student-administration program.
I got functions that can read and write student data, but the one saving the data from about 30 students has some problem...
quite a pain. I found the problem...the scanf is missing a '&' to save data...lol
thanks though
Hi guys
I'm challenged to write a program which calculates the time difference between two daytime.
compiler doesn't give an error, yet the warning:
"format '%d' expects argument of type...
hi guys
I'm trying to write a function which can recognize whether a word is a palindrome. if it's the case , it must return 1 on screen, otherwise 0.
this is the code which return 0 even in...
Thanks guys!! it worked
hi guys
I'm challenged to write a code for the following:
write a text up to 1000 characters, and get it back. the end of the text is detected though EOF on a new line or reaching 1000...
ikr? yet not sure what OS has to do with it....I use Windows 7
It's Eclipse based on GNU-C/C++- compiler
hi guys
I need to run some operation if a key from keyboard is pressed
so I go with
c=getchar();
hi guys
It's about the beginning section of every code where you give the libraries
I need a shortcut to find some file given through #include<file.name> without searching though all header data....
hi guys
in order to calculate some logarithm approximation I need to make a variable, say s, search through the whole integer numbers.
I believe something like this isn't much of help?
...
wow!! thanks a lot!! now I see them all. Very helpful
Hi guys
I have three separate, non-related code that each give out a certain value that I can't just figure why....
could you help me with them?
int arr[] = {5,6,7,8,9,10};
Hi guys
I have a list of student data stored under struct-variable of type std:
typedef struct{
char name;
hi guys
say you have a extern file with numbers from 0-20. so it contains
1\n2\n3\n4\n......\n20
the program's supposed to give all numbers greater than the number given on keyboard.
it worked and so did your first answer !! the only missing was adding thins line
void getdate (date1 time1){
scanf("%d %d %d", &time1.hour, &time1.minute, &time1.second);
}
thanks a lot but it's not working..chances are it's a go on C99 but not C..not sure though
the only error sounds "expected expression before date1" btw.
I believe I'd use struct more later on...
Hi guys
since I'm new to struct, I don't know how to use it properly apparently....I wanna save some time zone in a struct from scanf?
is it possible? how to save something inserted from...
hi guys
I'm new to arrays and officially have no idea of what this line means:
int numb (char String[])
what kind of idea does it give you? I've learned an array could look something like
It works so far :) Grazie tantissimo!!
//I understand. having a German keyboard, there's always a y,z issue
Thank you Samaras and all!!
what are you discussing about man xDDD
however, I got it finnally using this code btw.
else{
Hi guys
this is what I want the program to do:
it's to save up to 100 given number>0 from keyboard in some Array. If the given number is smaller than 0, it should stop and give back all the...
Hi guys
I'm playing with some operator to get the hang of it. I have defined
i=1 ;
g=5;
y is the output variable
now I'm trying to get certain numbers:
y=(3!=9)+ (i++)+ (19%5) is...