General C++ Programming - January 2011 (Page 4)

Max size of 2D matrix ?
 
Hi guys, I have problem of initializing a 2D matrix. I want to initialize matrix but my Visual ...
[2 replies] Last: Yeah, I did that and it solved the problem. Thank you for your quick ... (by Phalanx99)
loop assignment issues
 
I'm having trouble with my assignment to make a program with a nested loop that averages out peoples...
[10 replies] Last: also another thing that confused me was the phrasing for if a variable... (by narshen)
smart calculator
 
I made a calculator that you can type in a expression and it will figure out the operator and number...
[4 replies] Last: Here is a simpler version that uses decimals: #include <iostream... (by shadowvillian)
undefined reference
 
Hi guys, I am trying to read the data from a flat file named data.txt. My flat file looks like...
[5 replies] Last: string read(ifstream&); That line declares a function... it's loo... (by cran)
Visual Studio 2010 Express Question
 
Hey, Decided to give VS2010E a try and I'm baffled by some debugging output that is sent to the a...
[5 replies] Last: Just wanted to update in case anyone else new to VS is watching this o... (by wolfcry)
by Logert
Genetic Algorithm Project
 
My project is to optimize wind turbine placement in a given area. In order to do this, I'm using bo...
[5 replies] Last: It might be easier to replace openWind's optimizer code with the genet... (by Logert)
Makefile Error!
 
$ hoppity.cpp Makefile /usr/bin/hoppity.cpp: line 4: using: command not found /usr/bin/hoppity.cpp...
[9 replies] Last: Try something like this (where the indentation is a tab, not spaces): ... (by moorecm)
memory dump
 
Hi guys, I am playing around with reading memory. I have the following code, the output is a lot ...
[2 replies] Last: Notice: - you never allocated a dynamic array - you are reading loc... (by Bazzy)
Class object question (1,2)
 
The question is: 9.11* (Geometry: The Circle2D class) Define the Circle2D class that contains: -Tw...
[21 replies] Last: Your formula is incorrect. And the excess of temporaries makes your co... (by ne555)
perfect number
 
i m a bigginer in c++. I need to write a complete C++ program that allows the user to enter a positi...
[7 replies] Last: You can replace the if statement above with return sum - number; ... (by rocketboy9000)
Circle2D class question (1,2)
 
Here is what I have so far...it seems like I am doing it right, but I'm not sure how to even start t...
[28 replies] Last: Ah I see...so 'this' points to the object that is being used rather th... (by kraigballa)
I/O related
 
hi all, my question is How to read and print one character(including spaces) at a time from th...
[8 replies] Last: yeah! we have u :p (by busymaverick)
by mIXpRo
invalid covariant return type for ‘virtual....
 
hii , im studying polymorphism in c++ , i tried this code : #include <iostream> using namespa...
[3 replies] Last: your right it didn't cross my mind , but know i remembered , cause i... (by mIXpRo)
C++ inadvertant pointer manipulation in Interface objects
 
Hi all, I have a major problem with my code when attempting to dereference a pointer contained wi...
[5 replies] Last: I'm away from my machine with the actual code so the above code was be... (by barryso)
by vaanie
separe coding into 3 file
 
i have done this coding and its can be run.. but if i seperated into, header,implementation and main...
[3 replies] Last: let us know what grade you get on that assignment! (by ceruleus)
What are the Standard C++ & C Library
 
Hello need some c++ & c libraries for all programming.. Ive wanted to know what is it and when to u...
[1 reply] : http://www.cplusplus.com/reference/ (by quirkyusername)
by AMSA
C++ and Console. Ok. And GUI?
 
Hello there people, I always had a crush for programming. I've wrote some programs in C, because ...
[16 replies] Last: I don't see much problem with creating the program if you know the too... (by simeonz)
Erase rows from file with condition IF
 
Hello, i have an input txt file like this: 5,210000 5,212508 5,220000 //erase cause the ne...
[7 replies] Last: Actually if I'm given such an assignment I would immediately implement... (by sohguanh)
SegFault on QuickSort Implementation
 
Hi, I implemented QuickSort to work with integers and it worked and know that I use the same impleme...
[1 reply] : void Rotar(Comparable datos , int primero, int segundo) { Com... (by sohguanh)
how can I interface my c++ program with MySQL database?
 
As above, do I connect via some socket or what?
[5 replies] Last: It says in the link In addition, a native C library allows developer... (by unregistered)
January 2011 Pages: 123456... 24
  Archived months: [dec2010] [feb2011]

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