Search Results

Showing results 1 to 5 of 5
Search took 0.01 seconds.
Search: Posts Made By: dusse
Forum: C Nov 27th, 2008
Replies: 1
Views: 632
Posted By dusse
Hello guys,

How can I read and write in the same file? I want to open a file that exists and write something in the end of each line of the file..

Ex:
My_file:
a b c
d e f
g h i
Forum: C Nov 21st, 2008
Replies: 3
Views: 1,540
Posted By dusse
Hello guys..
I´m trying to do something like the code below ..

struct node{
int a;
char *s;
};

void main()
{
Forum: C++ Nov 16th, 2008
Replies: 2
Views: 1,201
Posted By dusse
How can I declarate a matrix of strings?

if I write something like the line below, my code do not compile


string a[MAX][MAX];


someone can give me a solution?
thanks
Forum: C Oct 16th, 2008
Replies: 9
Views: 1,560
Posted By dusse
Thanks for your reply Aia,
sorry I know that this code is C++, but my problem is also in C !!

char *d[] = {"aaaa","bbbb","cccc"};

you said that these strings cannot be altered
but if we do...
Forum: C Oct 15th, 2008
Replies: 9
Views: 1,560
Posted By dusse
How can I change a character of a string within an array of strings?
An execution error happens if I run the code below..

int main(int argc, char *argv[])
{
char *d[] =...
Showing results 1 to 5 of 5

 


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

©2003 - 2009 DaniWeb® LLC