General C++ Programming - May 2012 (Page 27)

Accessor for a matrix
 
Hey guys, i need an Accessor for my matrix(vector of vectors) and i think i need to use reference,...
[no replies]
encryption
 
I need to read text from a file character by character process it and put it into a file. It doesn't...
[4 replies] Last: thanks for replying you guys, I'm not familiar with absolute path (you... (by Nino Tsankashvili)
capture prompt output
 
Hi all, i am writing a simple program but i have a little problem. I must lanch a simple syste...
[6 replies] Last: Ok, my stupid mistake... i can't use "printf" to string but "cout"...... (by palli90)
c++ game developement project. (1,2)
 
my teacher told me i need to make a mario type of game on c++ but i dont have any knowledge about ma...
[27 replies] Last: @BHXSpecter - It really depends on the syllabus. A fair few games com... (by MrHutch)
Reading file's columns into array
 
Hi Guys! i'm reading file which has some number of columns each line has different number of column...
[2 replies] Last: Hi... here is the solution if anyone else need it for (int i=0; i<... (by menewbie)
clear buffer
 
Hello I got this program that recieves data strings from a COM port (getNewPacket). The main progra...
[5 replies] Last: How can i do this? Would you like to do that for me plz? Thanks (by closed account 4w7X92yv)
by harm89
Parse exceptional structure to array
 
For a schoolproject, I want to parse a sentence and process it's properties. This is an example of t...
[no replies]
Input stream behaviour
 
Why is it that while using "cin" when we input a character into an integer value, the program malfun...
[5 replies] Last: > I am not satisfied with the thing you pointed out. > Why doesn't i... (by JLBorges)
Psuedo 3D Road?
 
Hey, I'm trying to figure out how to make a pseudo 3d road effect. I've read this http://www.gorenfe...
[1 reply] : I don't know how to help you there but I must thank you for pointing t... (by MrHutch)
C++ Help
 
Hello, I got inspired today to learn a programing language. I want to learn C++ but I am sitting ...
[1 reply] : You have already solved the most important programing part by choosing... (by codekiddy)
Searching for Matlab-like functions with optimal performance. Suggestions?
 
Hi everyone, I need to transfer a Matlab program (which is quite big) to C/C++ because it is not ...
[1 reply] : You may want to have a look at: Boost::uBLAS http://www.boost.org/doc... (by JLBorges)
Bank Teller Program - Linear Search Error
 
I am to write an interactive program in which the user is prompted to create a bank account and able...
[7 replies] Last: No...you may need to review how arrays work. (by rollie)
nested vectors & connected components of a graph
 
So i am trying to count the connected components in a graph that is represented by a vector of strin...
[2 replies] Last: I suppose that you compiling with debug info. You are accessing out o... (by ne555)
parallel programming
 
Hello I would like to start dealing with parallel programming. I saw that MPI is used for multi-...
[1 reply] : Here is one on MSDN http://msdn.microsoft.com/en-us/library/tt15eb9t(... (by codekiddy)
by Cyu
Reading File into a vector
 
Hi, So I've been trying to read a txt file into a vector. But I can't get it work. The program wi...
[1 reply] : At the beginning the vector itemID has the size 0 hence trying to read... (by coder777)
understanding inheritance
 
Hi, I currently practicing inheritance and I would like to understand how it works because is not w...
[10 replies] Last: To answer my question, whichever class is included first it's the pa... (by hanst99)
Structure reference
 
Is it possible to store structure reference in map ?
[1 reply] : http://en.cppreference.com/w/cpp/io/c/fprintf goooooooogle. (by cire)
pointers in 2D array
 
Hi, is this one way to 'reset' a 2D array via pointers: for (p = &a ; p < &a ; p++) (*p) = 0; ...
[1 reply] : The seems like a typo for a 1D array, but for a 2D array you would n... (by rollie)
help me to sort this out..
 
Consider a 5-by-5 array of characters. Write a C++ program to accomplish each of the following opera...
[1 reply] : //declares the array int MyArray ; //prints the array for(int i... (by oonej)
Having problem with display function (by arrays and menu-driven)
 
I have a general question concerning the project I am working with. So I am having a hard time displ...
[no replies]
May 2012 Pages: 1... 2526272829... 41
  Archived months: [apr2012] [jun2012]

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