Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #4K
~3K People Reached
About Me

programmer

Interests
science, table foosball
PC Specs
AMD Barton 2500+ machine
Favorite Forums
Favorite Tags
c++ x 11
c x 4

8 Posted Topics

Member Avatar for cap2361

Look at the lines: protected: char *filename[12]; char *name[20]; I assume U just need two variables for holding two strings, not a tables of 12 (20) pointers to char. If so, try to remove * before filename and name and fix other errors by yourself (there are several of them …

Member Avatar for sunrise_cool
0
199
Member Avatar for Index

Hi! I would like to split vector elements into the two vectors. One output vector shall contain elements that, for instance, are odd, and another output vector shall contain even elements (actually the case is more complicated;). I wrote something like this: [CODE] typedef vector<int> ItemVec; static bool isOdd(const int …

Member Avatar for Index
0
2K
Member Avatar for sutty8303

>Since your function is defined before main, there's no need for a prototype ..unless other function defined before circle_area() calls circle_area() ;)

Member Avatar for Index
0
123
Member Avatar for hopeolicious
Member Avatar for kimfalk

The [B]static[/B] keyword specifies that the function accesses only static members, so make your flag static. Other error will appear, but maybe U can fix it by yourself :)

Member Avatar for prog-bman
0
491
Member Avatar for evilsilver

in function fight U have a strange if: [CODE] if (chp || hp <=0){ return; } [/CODE] I think you ment something like this: [CODE] if (chp<=0 || hp <=0){ return; } [/CODE]

Member Avatar for evilsilver
0
116
Member Avatar for Mahen

Maybe you should try to initialize "all" variable before strcat [B]char all[100] = "";[/B] or change [B]strcat(all, reg);[/B] to [B]strcpy(all, reg);[/B]

Member Avatar for Index
0
105
Member Avatar for Index

Hello everybody, I have a problem with libpng library, I am trying to use my own memory allocation routines. So, as stays in doc, I define PNG_USER_MEM_SUPPORTED and want to use png_create_read_struct_2() instead of png_create_read_struct(). png_create_read_struct_2 takes following parameters: [CODE]png_structp png_ptr = png_create_read_struct_2 (PNG_LIBPNG_VER_STRING, (png_voidp)user_error_ptr, user_error_fn, user_warning_fn, (png_voidp) user_mem_ptr, user_malloc_fn, …

Member Avatar for Index
0
177

The End.