General C++ Programming - March 2014 (Page 26)

File display problem
 
Hi i guys i want to display all the contents of a file excluding one based on user input say i hav...
[2 replies] Last: Typically we would do something like //read while file contains data ... (by long double main)
Searching Algorithm
 
1011101111101111011000110011 Me and a friend are working on a project that requires us to create ...
[7 replies] Last: If you are trying to squeeze out the last bit of performance, you migh... (by doug4)
N x N matrix
 
I am trying to figure a way out to take in an input from a user and create a N x N matrix with what ...
[1 reply] : I was wondering if anyone knows what I'm doing wrong or have another w... (by Impala570)
program solved
 
I posted this about a month ago asking for help but it was taken down like a couple of days ago. I w...
[no replies]
sleep in main..Unexepcted result
 
#include<iostream> using namespace std; #include<unistd.h> int main() { cout<<"I am in...
[1 reply] : Strange:P In any case, in c++11 you now have std::this_thread::sleep_... (by fafner)
linkked list
 
So I have linked list and function which deletes element if next element is bigger, so my code is wo...
[1 reply] : sry for double post The fact that you knew you shouldn't be doing t... (by MikeyBoy)
C++ DFS (Depth first search)
 
I am trying to write a program that will find the path from the beginning to the finish.I understand...
[no replies]
Multi-threading using boost::thread
 
I'm currently trying to log real-time data by using boost::thread and a check box. When I check the ...
[2 replies] Last: Boost ASIO actually has a built-in threading pool for it's resource ob... (by NoXzema)
Help! Program to generate Symbol table
 
Need to create a program in c++ to generate a symbol table of given assembly language program?
[1 reply] : If you compil/link for debug, you'll get a symbol table. Exactly how ... (by kbw)
by Slord
std::out_of_range vector error
 
Hi there :) I've been struggling with some code that was working fine until recently when I must ...
[4 replies] Last: Ah, that makes sense :). Cheers, been racking my brains all day over t... (by Slord)
why I cannot run this programe?
 
When I run the programe following errors were displayed and i can not find any error. Error ...
[2 replies] Last: I'm fairly sure this type of error occurs when you haven't properly li... (by Mike5424)
by pervez
UM6 serial parsing(datasheet parsing function) problem for getting serial data
 
BOOL readbyte(BYTE &resp) { BOOL bReturn = TRUE; BYTE rx; DWORD dwBytesTransferr...
[no replies]
by bads
help tetris
 
can anyone help me put some menu here that includes *Start *name of player and to improve the speed ...
[4 replies] Last: thanks (by bads)
Get Items from map and add to a vector c++
 
I rote this code in my program JSONNode::const_iterator iter = root.begin(); for (; iter!=r...
[1 reply] : When you access nodeMap in the "Way" case, why not use the iterator? ... (by kbw)
Using Char instead of unsigned to calculate numbers?
 
How do you use char instead of unsigned to calculate numbers? This is using char only and nothing e...
[4 replies] Last: Soe other points: char instead of unsigned On most implementations ... (by MiiNiPaa)
write header
 
can any body help me with this question question : Assume a class named Dollars exists. Write th...
[3 replies] Last: class Dollars { int dollars; public: Dollars& operator++(); Dol... (by Stewbond)
c++ game
 
I am new to c ++ (more or less) and I would like to make an rpg. (Perferably multiplayer) I need a...
[1 reply] : at least a link to a library http://www.sfml-dev.org/ (by MiiNiPaa)
2D Array Tic Tac Toe
 
#include <iostream> #include <iomanip> #include <cstdlib> using namespace std; int main() { ...
[2 replies] Last: God Bless Your Soul. I looked so retarded looking at your reply. Thank... (by MazharMustapha)
I want to use old version <iostream.h>
 
Hi all! I'm want to use the old version for programmin in C++. I'm want to use the <iostream.h> ...
[3 replies] Last: Also it should let you use it directly unless the compiler does not s... (by cire)
external file read failure
 
I'm having trouble with a function that reads in data from an external txt file. inFile.fail() keep...
[no replies]
March 2014 Pages: 1... 2425262728... 36
  Archived months: [feb2014] [apr2014]

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