No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
I have the next piece of code: [CODE=C++] vector<ChatSession> ssid; void SessionCreator( void *ch ) { vector<string> users; ... ... ... ChatSession cs; // put chat session objects in vector array for (int i = 0; i < (int)users.size(); i++) { const char *t = users[i].data(); char t2[30]; memcpy(t2, t, … |
|
Re:
whenever i compile in code-blocks for wxwidgets following error is generated but when i priview the wxform it shows the form . i really don't know what is this. ||=== banking, Debug ===| WxWidgets.org\wxMSW-2.8.10\wxMSW-2.8.10\include\wx\platform.h|196|wx/setup.h: No such file or directory| WxWidgets.org\wxMSW-2.8.10\wxMSW-2.8.10\include\wx\chkconf.h|103|#error "wxUSE_DYNLIB_CLASS must be defined."| WxWidgets.org\wxMSW-2.8.10\wxMSW-2.8.10\include\wx\chkconf.h|111|#error "wxUSE_EXCEPTIONS must be defined."| WxWidgets.org\wxMSW-2.8.10\wxMSW-2.8.10\include\wx\chkconf.h|119|#error … |
|
Re:
Getting an access violation error when I get to the array sort code... Here's the code. Any thoughts? [code] // sort the shape arrays by area for(int i = 0; i < total - 1; i++) { for (int j = i; j < total; j++) //start at i { … |
|
Hello, So I've got a code where I'm wanting to make sure that there is nothing in this class variable "finalgrid". To do this I've got an if statement: [code]if(canvas->finalgrid) OR if(finalgrid)[/code] Sorry for the confusion with the two statements, but I'm working on modifying one project to fit in … |
|
Re:
Hi; I want to add a string of numbers(e.g 9999) which are stored in a text file. [code] #include <conio.h> #include <stdio.h> #include <stdlib.h> void main (void) { clrscr(); char ch; int x=1; long sum=0; long integer; FILE *fptr=fopen("thousand.txt","r"); while (ch!=EOF) { ch=fgetc(fptr); ch= .....................I AM STUCK HERE.............. } fclose(fptr); … |
|
Re:
Is there any way that I can get the sin(), cos() and tan() functions to return an angle? For example, like when you press 2nd then sin on a calculator. Or should I use different functions? |