Search Results

Showing results 1 to 14 of 14
Search took 0.01 seconds.
Search: Posts Made By: adatapost ; Forum: C and child forums
Forum: C 14 Days Ago
Replies: 8
Views: 471
Posted By adatapost
>you can't use variables to declare an array.

C99 (http://en.wikipedia.org/wiki/Variable-length_array) support variable length array. A variable length array, which is a C99 feature, is an array...
Forum: C 17 Days Ago
Replies: 9
Views: 343
Posted By adatapost
You are a bit lazy. I recommend code::blocks (http://sourceforge.net/projects/codeblocks/files/Binaries/8.02/codeblocks-8.02mingw-setup.exe/download).
Forum: C 30 Days Ago
Replies: 2
Views: 313
Posted By adatapost
I think probably you don't understand what an enum (http://publications.gbdirect.co.uk/c_book/chapter6/enums.html) is. You can think of it as a sort of compile time #define. Take a look at this...
Forum: C 30 Days Ago
Replies: 6
Views: 557
Posted By adatapost
Hi,
Take a look at this article - http://linuxgazette.net/111/ramankutty.html
Forum: C 32 Days Ago
Replies: 5
Solved: char in c?
Views: 491
Posted By adatapost
In C language, char (http://en.wikipedia.org/wiki/Primitive_data_type#Characters_and_strings)value is stored in 1 byte. A char type may contain a single letter, digit, control character or special...
Forum: C Sep 15th, 2009
Replies: 16
Views: 695
Posted By adatapost
ubi_ct83: this is the example of malloc cast isnt it?

Read these threads,

http://cboard.cprogramming.com/faq-board/25799-faq-casting-malloc.html
...
Forum: C Sep 11th, 2009
Replies: 6
Solved: Return an array
Views: 618
Posted By adatapost
Returning an array as a whole is not possible in c-language. However you may use one of the following method:

1. Store an array within a structure and then return the structure.
2. Dynamically...
Forum: C Sep 4th, 2009
Replies: 8
Views: 394
Posted By adatapost
furqankhyraj,

Why don't you go get a read,

1. announcement - How to post your problems? (http://www.daniweb.com/forums/announcement118-3.html)
2. Should I used void main() or int main()?...
Forum: C Aug 16th, 2009
Replies: 2
Views: 508
Posted By adatapost
SUMMARY:Some compilers for small machines, including Turbo C (and Ritchie's original PDP-11 compiler), leave out certain floating point support if it looks like it will not be needed
Read this FAQ...
Forum: C Jul 26th, 2009
Replies: 13
Views: 698
Posted By adatapost
Show us your code work.
Forum: C Jul 12th, 2009
Replies: 11
Views: 672
Posted By adatapost
rcbhat,
Array of chars and pointer to chars is not same thing.
Declaration of your code is pointer to chars.

char *x="new";
char *y="world";
...

'x' points to the first char of "new"...
Forum: C Jul 10th, 2009
Replies: 5
Views: 510
Posted By adatapost
Welcome mshafi,
You got errors because graphics system of language is supported by the device. After all, your compiler is 17 years old. Now, it's time to say good bye to that compiler.
Number of...
Forum: C Jun 28th, 2009
Replies: 9
Views: 509
Posted By adatapost
Little correction on tux's post.
tux>This is already a big error: int result[3],item,*count=0; .
You declare a pointer to an integer, correct till here, but what do you do then? Well, you assign a...
Forum: C Jun 28th, 2009
Replies: 8
Views: 328
Posted By adatapost
sam511,

I think you tried to open a data file with an editor. There are two types of data file - Text and Binary.
Show us your complete code. Don't forget; wrap up source code with BB code tags....
Showing results 1 to 14 of 14

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC