Beginners - July 2011 (Page 35)

by prog
c++ program and the use of memory
 
Hi all, my c++ program uses pointers to dynamically allocate memory. I run it on Windows and I'm trying to understand why even if the process uses 30Mb of memo...
[3 replies] Last: Its difficult to tell anything with this much information. But as the ... (by writetonsharma)
Beginner Trouble
 
Hi Everyone! I hope I'm posting this okay and don't irritate anyone TOO much with my ignorance. I appreciate the patience and help! I'm trying to take pro...
[6 replies] Last: [quote=HisServant77]Do you use and/or suggest a different one yourself... (by closed account zb0S216C)
by tonnot
A vector of structure with vectors inside it .
 
I'm a little lost: I have the next structure Struct A { int num; vector<structB> vector_B; or maybe vector<structB> *vector_B; vector<float> vector_float; ...
[6 replies] Last: I believe by default you are given 1 MB of memory for your stack. Do y... (by hamsterman)
by jayden
Can Dev C++ run source codes written in Visual C++?
 
Hi all, I have a problem here. When i execute and run the source code which was written in Visual C++ in Dev C++, the outcome was not the same as when i run ...
[1 reply] : There are some differences between compilers, but most of the time the... (by hamsterman)
railway ticket reservation
 
i am working on this project.but i am getting some errors which i am not able to correct..plz help me out with this...following is my code #include "d.h" #in...
[4 replies] Last: thnx a lot Watachiaieto......does any one else want to suggest anythin... (by geekocoder)
Reading data from a MS excel-file?
 
Hi! I have a school project to make a GUI program using C++ and wxWidgets framework that reads input data from *.xls files and outputs histograms. My ques...
[2 replies] Last: Thank you for reply =) I will give it a go :D (by jjepsuomi)
Vector of Object Vectors
 
Hi, I am trying to define a class which has a vector of objects of another class which in turn has a vector as a member variable. Please find the code below. ...
[2 replies] Last: Thanks. I found the error. It is most probably a compiler issue. I com... (by HiuenTsang)
Help in programming!
 
Hi! I try to search for people who are beginner or in advanced level of programming in C++. To just have contact with them. Why? Just to help each other and to...
[1 reply] : Hey! I wouldn't mind! My E-mail address: ProgrammingWithAlexSharples@g... (by JesusAlex)
Array of Objects question
 
I am attempting to make a program that calculates the value of a resistor just by inputting the colors of each individual band. I want the user to be able to in...
[6 replies] Last: Thanks for the replies, they were helpful. (by Cube Code)
How to create a C++ application in Xcode 4
 
Hi, I use Xcode to create programs in C++ and the only way to do that in Xcode is to use the "command-line tool" as your file type however I do not know how to ...
[1 reply] : There should be an executable generated somewhere near your code file ... (by hamsterman)
Next Book
 
Hello everyone, I am currently reading "C++ How to program" by Deitels (http://www.amazon.com/How-Program-7th-Paul-Deitel/dp/0136117260/ref=sr_1_2?ie=UTF8&qid=...
[1 reply] : Have you looked at http://www.cplusplus.com/articles/GLzyhbRD/ ? (by hamsterman)
help guys! functions!
 
This program enables me to find the biggest number of all rows and columns and the overall highest number. How can I convert this exact code to a function of ma...
[1 reply] : That depends on what you want the function to do. If it is to print th... (by hamsterman)
string into char
 
is it possible to get string or string stream to go into char, like x = string(stream) s and so on.
[8 replies] Last: howto vocnvert long long itn into string (by vastrolorde)
by Shelby
Need help with a loop error.
 
Hi all. I'm very new at c++ and I just started writing a temperature conversion program: #include "std_lib_facilities.h" //Converts Temperatures doubl...
[5 replies] Last: that is why a string of numbers to an int is pretty complex... in bina... (by Watachiaieto)
Help Fixing Simulated Check Program
 
I have just started with c++ programming a month ago. I have an assignment where I need to have an ouput that shows a simulated check. #include <iostream> ...
[1 reply] : You have two inputs, because you wrote two inputs. Delete lines 84-95 ... (by hamsterman)
Void function
 
I've looked through my book and can't find the answer to this: "When and to where does control return from a void function?"
[3 replies] Last: A function that has a return type-specifier of void indicates that t... (by closed account zb0S216C)
by rincon
Has anyone tried to make....
 
.... an automated stock trading program with C++? just curios to know if it can be done and if there are links to do it
[1 reply] : From a high level point of view, to place a buy-sell will require your... (by sohguanh)
How to do this.
 
How to convert char to int Like I want to convert char x ='1' into int y=1.
[9 replies] Last: Thank you everyone for help. (by time to c)
trouble counting words in a file
 
the program is supposed to read a file specified by the user, and count the number of words. the program is to loop until the user types in 'quit'. The loop a...
[2 replies] Last: I guess you miss the first and the last words. <1> Remove line 40 and... (by smileff)
by acorn
shallow copy with pointers
 
if you assign a pointer to a class member from outside the class and the memory management is dealt with outside the class does that mean a shallow copy is ok? ...
[18 replies] Last: oh, so that's how the default works. i just know it. i thought you alw... (by chipp)
July 2011 Pages: 1... 3334353637... 54
  Archived months: [jun2011] [aug2011]

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