General C++ Programming - November 2013 (Page 36)

compile error
 
this code has an error // a is an object with an string called name printf("%s",a.nmae);
[2 replies] Last: Assuming it's not a typo, then you're passing a std::string to printf(... (by duky)
by tommyo
check input and store value in array
 
This program works but i need to build an additional loop that will re-prompt a user if his initial ...
[1 reply] : Please use code tags. You can get them from the <> button to the right... (by Albatross)
help with first time boost user
 
so this is the first time i have used boost, and im getting a bunch of errors. i know it is this fun...
[16 replies] Last: ok ill give it a try. thanks (by closed account Dy7SLyTq)
by Aadc
Insertion Sort Algorithm with comparison counter
 
So I have an insertion sort function implemented that sorts through an array, but I'm having a probl...
[3 replies] Last: for (int i = 1; i < numOfElements; i++) { for(int k=i+1;k<... (by Shren)
Using void functions to display arrays
 
I want to write a code that gets three values from the user and puts them into three arrays. When th...
[2 replies] Last: Line 25: I think I may have confused myself here. The goal is to get t... (by rycbarott)
binary search algorithm
 
In the below example, a binary search function decides if a particular value x occurs in the sorted ...
[7 replies] Last: This was actually a book on C and it was a minus not a plus. It was sc... (by johnmerlino)
Friend function of a class template
 
"A friend function of a class template must be a function template specialization." - True or false ...
[2 replies] Last: Have you tried writing up a bit of code and seeing if it compiles? (by Zhuge)
by print
error int[int]
 
... void split(const int array ,int length,int & even_array,int even,int & odd_array,int odd) ...
[4 replies] Last: yeah.. i change it into pointer and it works.. thanks.. (by print)
Homework Assistance: Using Pointers instead of Indexes for Arrays
 
I happened to miss a few classes before an exam, so while the class was going over pointers, I was b...
[1 reply] : This website has (in my opinion and I may be more than a bit biased) a... (by Albatross)
by Jarzzz
Structures - Reading from file
 
#include <fstream> #include <iostream> #include <iomanip> #include <ostream> using namespace st...
[3 replies] Last: Finished (by Jarzzz)
Tile Map(unknown reason for unresolved external symbols)
 
So I tried to make a tile map function to display my map as tiles. I keep getting unresolved externa...
[8 replies] Last: So naraku, i took that out. And I did try moving line 25 above line 8,... (by twiggystardust)
C++ programing error help!
 
Error messages: 3 IntelliSense: identifier "_TCHAR" is undefined 2 IntelliSense: cannot open...
[2 replies] Last: ok (by paco12345)
Can anyone help please
 
okay so I have to write this nested loop so that it outputs a V, i am having a hard time getting the...
[3 replies] Last: Thanks Onts' now to get a inverted V, i will have to change around wi... (by grosen33)
Sorting alpha characters, not ASCII?
 
Hey guys, I am looking for a way to sort a string just by the alpha characters, not by the ASCII tab...
[7 replies] Last: My professor actually hasn't really taught us arrays either yet. I am ... (by MJGilbert)
by omid88
Calling constructor inside another constructor (No matching function to call...)
 
I've written an Array class to create 1d,2d and 3d array and it works fine for every test : example ...
[2 replies] Last: It did not work. But the problem was solved by adding a default constr... (by omid88)
by LB
Alternative to missing <codecvt> header
 
Sadly, MSVC is ahead of GCC - libstdc++ does not yet support the <codecvt> header, so we can't do ...
[3 replies] Last: Unfortunately libc++ is not supported on Windows, and using boost is c... (by LB)
by LB
std::basic_sreambuf::setp 2 args vs 3 args
 
http://en.cppreference.com/w/cpp/io/basic_streambuf/setp http://msdn.microsoft.com/en-us/library/vst...
[3 replies] Last: Thanks, I got it figured out. (by LB)
New API hooking in C
 
Ok i started to new coding with C, so i decided to code something So lets begin, i started of wi...
[3 replies] Last: i am quite new to API programming no your not. the standard c librar... (by closed account Dy7SLyTq)
by JAAFAR
error: 453 - Can't find dll entry point
 
Using VC++ 2010 Express I am creating a dll to export a simple Multiply function so I can use it in...
[2 replies] Last: You know how regular binary files need a function titled "int main()" ... (by Computergeek01)
November 2013 Pages: 1... 3435363738... 46
  Archived months: [oct2013] [dec2013]

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