Beginners - July 2009 (Page 12)

Test POST to CGI
 
I'm compiling a C++ executable in Visual Studio 2008. It's made to accept a POST from a HTML form. How can I simulate this POST for debugging purposes?
[no replies]
How to use error handler????
 
float num; char buffer ; printf("ENTER A POSITIVE NUMBER:"); gets(buffer); num=atoi(buffer); if(num<=0&&buffer !='0'); {printf("Not a positive number.\n")...
[1 reply] : I don't mean to be rude, but what exactly are you asking? If the in... (by mrHappyPants)
A collection of recommended books?
 
Is there a series of books (cause I can't imagine one book covering all this) that takes you through C++ from the command windows, to programing GUI to programi...
[1 reply] : There is no specific series of books that I know of by one publisher t... (by Return 0)
by Force
Casting return type
 
Hi!Ok so look at this code it's pretty simple, but I have the task to cast a return type.First here's the code: #include <iostream> #include <assert.h> enum...
[4 replies] Last: Sorry I didn't write it clear but yes that's what I thought.Actually I... (by Force)
GUI without Windows Forms?
 
I'm intrested in knowing if theres a way to make a GUI without using Windows Forms...and is this recommended? The reason why I ask, is that I have used many 3D ...
[1 reply] : There are portable GUI toolkits. There's also the possibility of rolli... (by helios)
by j0e21
Problem with functions
 
So my program was working and then at one point something got screwed up. I am incredibly lost with what to do. The errors I get are: Error 1 error C2065: 'c...
[3 replies] Last: I figured it out. THanks for the replies! (by j0e21)
Why the garbage results?
 
#include <iostream> class character { int health; // health instance private by default int damage; // damage instance private by default ...
[2 replies] Last: Silly me, thank you Disch! (by mcleano)
common question?
 
it's not changing in main after OBJ_NUM is decreased by 1 in function chk_brd(). but obs_x and obs_y are works true. I wanna to decrease OBJ_NUM in function an...
[3 replies] Last: How does OBJ_NUM relate to the size of the vectors? If you're using O... (by kbw)
2D vector erase() ?
 
i have a problem with 2D vector. i have n*m massiv and want to delete r-th n. ex: k = {1 1 1 1 1 1 2 2 2 2 2 2 3 3 3 3 3 3 ...
[7 replies] Last: http://www.cplusplus.com/reference/stl/vector/erase/ Erase will wor... (by jRaskell)
Different languages/technologies, different purposes
 
Hi all, I understand that this is not the best place to ask this question, but is there some list or article or book, which can say what languages/technolog...
[8 replies] Last: No, thank you very much. :) I was just curious. (by cppuser)
Question about nested looping.
 
Our teacher ask us to program a nested looping this is the question. Please help me I need this within 2 days.T_T display a row of stars using stars (*) ...
[2 replies] Last: that's one of the common practice when teaching students how to deal w... (by johnkravetzki)
by balal
read apart of a file
 
hi,another problem :I want to read apart of a file which contains some chart az maze game befor them I say their name and their length and width like this sara...
[no replies]
by Bv202
Optional parameters
 
Hi, Does C++ have something like optional parameters? I've Googled it and it has a lot of results, but nothing that really answers how to use it in an easy e...
[5 replies] Last: Basically ellipsis is useless in C++ and should be avoided. Either of... (by jsmith)
New to C++...Looking for some tips.
 
Hi guys, I'm very new to C++, and was hoping that some of the helpful people on this forum to give me some tips and tricks to help me learn/create C++ well. :-)...
[2 replies] Last: I want something simple just to boost me for the very first time Writ... (by Bazzy)
by sa3
Dynamic allocation of a single element
 
What is the purpose of dynamically allocating a single element? In other words, when would someone ever use new instead of new ? I understand that new ...
[6 replies] Last: Yes (by Bazzy)
by jpv
Hello C++ Experts
 
I am VISHNU... I have finished my B.E graduation in 2009 (ECE). I am very much interested in C++. But i have less knowledge about it. This domain is very much u...
[6 replies] Last: I'm happy that I can help :). (by Cojones)
Arabic alphabets
 
Help needed fellows... I want to input and display arabic alphabets using Dev C++. I have tried using ascii codes but failed. How can i???
[17 replies] Last: Thanks Duoas, you have helped me a lot in this problem. And thanks to ... (by AR Khan)
forward declaration of classes and member functions
 
Here is my problem: I am trying to write two classes, one of which is a smart pointer to the other. class StudentPtr; class Student { private: ...
[1 reply] : EDIT: blah I'm blind. I didn't see StudentPtr declared there. ... (by Disch)
How do I add data from my program to a file for future use?
 
Here is my code, I want to be able to store customers, their data, etc and be able to view that data again and add to it the next time I run the program. #i...
[5 replies] Last: If you are unsure, write functions to do it instead. void write_cu... (by Duthomhas)
Extracting information
 
Hi Guys, I have been working on a small piece of code which basically asks the user to enter 4 names. the problem im having is I'm not sure how to extract the n...
[2 replies] Last: Btw, at the end of the tags you use '/' not '\' (by firedraco)
July 2009 Pages: 1... 1011121314... 20
  Archived months: [jun2009] [aug2009]

This is an archived page. To post a new message, go to the current page.