General C++ Programming (Page 6)

Trouble Removing and Renaming Binary Files
 
I tried to write a Program to Insert Information of an Item to an existing Binary File. But somethin...
[5 replies] Last: Sorry, After a self-compilation, I found that the trouble isn't in Ins... (by Science001)
by kugen
switch statement
 
Currently my code is not working, Im trying to count the total of each remainder from the 20 numbers...
[5 replies] Last: http://www.cplusplus.com/forum/beginner/194552/ (by TheIdeasMan)
initialize member list for stack
 
Hi, I know vector & array containers are more suited for this, but I want to know how to initialize...
[3 replies] Last: @ Arslan7041 My Bad !! !FacePalm! I was discombobulated: std::stack... (by TheIdeasMan)
Roll Dice Program
 
Hi, I'm currently working on a dice program in which I'm to create a function (called rollDice) that...
[3 replies] Last: [quote=TheIdeasMan]Just a note for the future :+) There also shouldn'... (by closed account 5a8Ym39o6)
by DrFre
converter error
 
Hey folks I got the following function definiton ReportResult SendCrashReport(const wstring &url,...
[5 replies] Last: the calling convention didn't help. I just marked my callback function... (by DrFre)
Can't get my function to run
 
//Ask the user to enter a number. //Then tell the user whether the number is positive or negative a...
[3 replies] Last: It compiles and asks the user for the integer. It works up to the Sign... (by stpeter97)
Problem building cyclic libraries
 
Hi, Disclaimer: the names of the types expressed here do not have to make any sense! I am *not* ha...
[4 replies] Last: A static library is just a bunch of .objs bundled together without bei... (by helios)
$ symbol in textBox or label C++ windows form
 
Trying to get the $ symbol to appear in text box and labels before I calculate and after. Ive don...
[2 replies] Last: I want the $ symbol to always be there in textbox or label. before I e... (by anthonyciro)
by DrFre
cl.exe default libraries
 
Hey folks I'm trying to write a managed wrapper for breakpad to use it in .NET. As I'm new to c++ I...
[5 replies] Last: I did a rebuild of breakpad and linked the libraries again. I think I ... (by DrFre)
memory order
 
//Now they are mass in my head! //Who can introduce them in more common language? //the difference...
[1 reply] : Some context: http://en.cppreference.com/w/cpp/atomic/memory_order (by TheIdeasMan)
Class Member Initialization
 
Hey guys, I have a little question: Is there any real difference in the way you initialize class ...
[4 replies] Last: http://www.geeksforgeeks.org/when-do-we-use-initializer-list-in-c/ (by closed account 5a8Ym39o6)
breadth first search & depth first search using c++
 
how to write a c++ program that: 1) requires no user input 2) traverses a binary tree using depth ...
[1 reply] : Hi, Well, best place is at the point where you realise this isn't a ho... (by closed account 5a8Ym39o6)
Data buffer wrapper problem.
 
So I've been learning boost asio, and I wish to implement my own wrapper for data. The wrapper class...
[2 replies] Last: Thanks for the heads up cire, I'll use resize rather than reserve! Un... (by SamuelGr)
Read Binary File Records Show Only Junk Values
 
I tried to write a Program to store Info of Items in a Binary File. But except the 1st record, all o...
[10 replies] Last: As a continuation, I tried to Insert records to my file. IDK why, the ... (by Science001)
Function pointers
 
I created a map of function pointers, and now i want to take the pointer and pass it as a function p...
[5 replies] Last: Good to hear :) (by closed account 5a8Ym39o6)
Checking for nullpointer not working
 
My if is not checking if pointer is initialized. What am i doing wrong ? In Wt hangman tutorial file...
[2 replies] Last: Ahaa... i see my error. On me relying too much on the Wt tutorials and... (by vastrolorde)
point of sale program
 
please help me convert this POS c program with pointer and structure. Can someone please void dis...
[3 replies] Last: I take it you want an illustration of the use of data structures and p... (by tipaye)
Can't read String from User
 
I tried using gets(iname), std::getline(std::cin,iname) and std::cin.getline(iname,100,'\n'). But no...
[4 replies] Last: Glad it helped :) (by closed account 5a8Ym39o6)
how overloading input and output operators?
 
i did these on my BitmapDC class: //write HBITMAP: friend std::ostream& operator << (std::ost...
[2 replies] Last: i'm sorry. but the link confused. i don't understand how to fix it :( (by Cambalinho)
What's wrong with my RemoveNode function (BST)?
 
Hi. This is the RemoveNode function: // keyNode is a pointer to the Node to delete void RemoveNo...
[11 replies] Last: So even the search function should return a pointer by reference, sho... (by cire)
Pages: 1... 45678... 26
  Archived months: [may2016]

Cannot post in this page. To post a new message, go to the first page.