Click here to Skip to main content
15,921,276 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCan I use SendRequest to Post HTTP form data? Pin
rasha200320-Mar-04 23:00
rasha200320-Mar-04 23:00 
AnswerRe: Can I use SendRequest to Post HTTP form data? Pin
Prakash Nadar20-Mar-04 23:40
Prakash Nadar20-Mar-04 23:40 
GeneralRe: Can I use SendRequest to Post HTTP form data? Pin
rasha200321-Mar-04 1:57
rasha200321-Mar-04 1:57 
GeneralRe: Can I use SendRequest to Post HTTP form data? Pin
Prakash Nadar21-Mar-04 3:16
Prakash Nadar21-Mar-04 3:16 
GeneralLooking for a safe and efficient way to use two dimensional arrays. Pin
George220-Mar-04 20:24
George220-Mar-04 20:24 
GeneralRe: Looking for a safe and efficient way to use two dimensional arrays. Pin
Andrew Walker20-Mar-04 21:55
Andrew Walker20-Mar-04 21:55 
GeneralRe: Looking for a safe and efficient way to use two dimensional arrays. Pin
George220-Mar-04 22:32
George220-Mar-04 22:32 
GeneralRe: Looking for a safe and efficient way to use two dimensional arrays. Pin
Branislav21-Mar-04 2:48
Branislav21-Mar-04 2:48 
int main(int argc, char *argv[])
{
unsigned i;

// Declaration of the two-dimensional array
// as a pointer to pointer
//
char** array_2D;
const unsigned ROWS = 10;
const unsigned COLUMNS = 10;

// Allocate "main" array
//
array_2D = new char*[ROWS];

// Allocate each member of the "main" array
//
for (i = 0; i < ROWS; ++i)
array_2D[i] = new char[COLUMNS];

// Fill the 6th element with a string and print it
// out
//
strcpy(array_2D[5], "Hey there");
cout << array_2D[5] << endl;

// Deletion is performed in reversed order.
// Pay special attention to the delete[] operator
// which must be used to delete arrays (instead
// of the "simple" delete)
//
for (i = 0; i < ROWS; ++i)
delete[] array_2D[i];

delete[] array_2D;

return 0;
}
GeneralRe: Looking for a safe and efficient way to use two dimensional arrays. Pin
Nick Parker21-Mar-04 7:52
protectorNick Parker21-Mar-04 7:52 
GeneralRe: Looking for a safe and efficient way to use two dimensional arrays. Pin
George221-Mar-04 17:15
George221-Mar-04 17:15 
GeneralRe: Looking for a safe and efficient way to use two dimensional arrays. Pin
George221-Mar-04 17:20
George221-Mar-04 17:20 
GeneralRe: Looking for a safe and efficient way to use two dimensional arrays. Pin
Branislav21-Mar-04 21:04
Branislav21-Mar-04 21:04 
GeneralRe: Looking for a safe and efficient way to use two dimensional arrays. Pin
George221-Mar-04 21:09
George221-Mar-04 21:09 
Questionhow does the function of the scrollbar control work? Pin
vividtang20-Mar-04 19:23
vividtang20-Mar-04 19:23 
AnswerRe: how does the function of the scrollbar control work? Pin
Branislav21-Mar-04 3:09
Branislav21-Mar-04 3:09 
GeneralSTRRET question Pin
nm_11420-Mar-04 18:01
nm_11420-Mar-04 18:01 
GeneralOrganising VC libraries dlls etc Pin
axid3j1al20-Mar-04 17:01
axid3j1al20-Mar-04 17:01 
GeneralRe: Organising VC libraries dlls etc Pin
Ravi Bhavnani21-Mar-04 3:29
professionalRavi Bhavnani21-Mar-04 3:29 
GeneralRe: Organising VC libraries dlls etc Pin
axid3j1al21-Mar-04 12:29
axid3j1al21-Mar-04 12:29 
GeneralRe: Organising VC libraries dlls etc Pin
Ravi Bhavnani21-Mar-04 14:34
professionalRavi Bhavnani21-Mar-04 14:34 
GeneralRe: Organising VC libraries dlls etc Pin
axid3j1al21-Mar-04 14:56
axid3j1al21-Mar-04 14:56 
GeneralRe: GDI object viewer add-in Pin
Antti Keskinen20-Mar-04 23:56
Antti Keskinen20-Mar-04 23:56 
General7 .NET cds -&gt; 1 Pin
Anonymous20-Mar-04 12:38
Anonymous20-Mar-04 12:38 
GeneralRe: 7 .NET cds -&gt; 1 Pin
Prakash Nadar20-Mar-04 16:42
Prakash Nadar20-Mar-04 16:42 
GeneralRe: 7 .NET cds -&gt; 1 Pin
Anonymous20-Mar-04 16:50
Anonymous20-Mar-04 16:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.