Beginners - July 2010 (Page 10)

by michy
operator []
 
HI EXPERTS, Question about overloading operator .. im wondering how im going to create a 2D object...
[3 replies] Last: but x(1)(1) is unintuitive and makes no sense. Just do x(1,1) . ... (by Disch)
by tinlab
Quit function in my basic calculator
 
Hey everybody, I'm pretty new to C++ programing, and I was trying to build a basic calculator with...
[10 replies] Last: I have finished the program and it works great if you would like to gi... (by tinlab)
by vkaul1
computational time calculation
 
How do I compute computational time for my main program? I know there is a ctime object but dont kno...
[3 replies] Last: It is in clock ticks. Use the macro CLOCKS_PER_SEC to convert to secon... (by Zhuge)
Recursion.
 
The goal of the program that I have to create is to have the user enter a number. From there, a func...
[5 replies] Last: Gotcha! Thanks so much for the help guys :) (by xcrossmyheartx)
data input from file
 
hi how would i get individual data or arrays from a .txt file. all the tutorials i find the prog...
[2 replies] Last: http://www.cplusplus.com/doc/tutorial/files/ Personally, I find tha... (by Zero One)
Declaring a vector array (custom type) in a class, then initializing on creation
 
I'm having a rather large problem being able to pre-declare a vector array of a private type, then i...
[9 replies] Last: Yes, new TileSprite(); does return a pointer. The colon separates... (by Galik)
Segmentation fault on copy std::map<int,int>
 
Hi, I have a Config-class, that contains a few variables and a std::map<int,int>. When I copy th...
[2 replies] Last: I finally solved the problem. I thought it was weird something like th... (by DieterVandenbroeck)
Message Box
 
I want the message box to display a random number, here is what I have: #include <time.h> #in...
[4 replies] Last: [quote=TheEliteOne]I wanted it to return to main and open another mess... (by m4ster r0shi)
Do and while loops. (1,2)
 
I can't seem to get my do and while loop to work. For this assignment, I have to make a calculator t...
[22 replies] Last: hi guys..could some1 help me on this, im quite new in programming : ... (by Soundwave)
Output for simulation
 
Hello , I am working on a project which is a numerical simulation . I was wondering if somebody...
[6 replies] Last: I have no idea what .xls file format looks like. However Excel accept ... (by Galik)
by drw4d
String as parms or function types?
 
I'm hoping this is an easy question, so I'm not going to post code right now. If it turns out that ...
[4 replies] Last: Thanks for all the tips guys. I had looked briefly at the idea of d... (by drw4d)
by Wander
Weird Loop of Infiniteness :)
 
I'm making a program that stores numbers in a text file. Whenever my code reaches a section in the c...
[6 replies] Last: deque is a dynamic sequence container. Since you are trying to use an... (by kempofighter)
by aag61
Send CR LF to active window
 
Hello, I am trying to send CR LF to a window of an application outside my running application. ...
[no replies]
Sorting an string in order
 
I tried to write a program to sort the elements of a string in alphabetical order. I don't know what...
[7 replies] Last: Better yet... Edit: @Cody39e #include <iostream> #include <algor... (by Athar)
by Kyon
Dynamic Multidimensional Arrays
 
Heya readers, As stated, I want to get Multidimensional Arrays to with non-constant "lengths" (am...
[3 replies] Last: Just so you aren't wasting any time: the relevant bit of information i... (by Athar)
How to write pixels to the screen? (1,2)
 
Subject: Writing pixels to computer screen Platform: Windows 7 Pro 64-bit IDE: Visual Stud...
[27 replies] Last: I didn't think of that. If you can get access to a cluster, then go fo... (by chrisname)
Remove/Replace line in file
 
I've been looking at sites for this and can't find a way to get it to work correctly. I'm trying to ...
[16 replies] Last: I found the problem. Noob moment. ofstream myFile("HighScores.tx... (by SacredFootballLB)
by Gimp
How to see the output of cout in Windows 7 (Complete newbie here)
 
Greetings! This is my first time here but hopefully I will be making many many returns. I have...
[4 replies] Last: Thanks guys! I used mcleano's solution (just adding cin.get() at the ... (by Gimp)
Three Dimenstional Figures
 
Hello, I'm new to c++ programming, but I have used other programming languages in the past. I wa...
[4 replies] Last: FSML might be of interest. (by moorecm)
c++ and MS visual c++
 
c++ and MS visual c++ are they the same?
[3 replies] Last: If you use .Net you are using C++/CLI which is completely different fr... (by Bazzy)
July 2010 Pages: 1... 89101112... 31
  Archived months: [jun2010] [aug2010]

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