General C++ Programming - August 2013 (Page 27)

Math Error
 
Hello, I'm in the middle of programming my first text - based game right now. I am having a mathemat...
[8 replies] Last: Now is there anyway I can add words/strings to integers? No. If you... (by MikeyBoy)
by Sagax
error: no match for 'operator='
 
Hello I recently came across this error in a function for one of my classes and I can't figure out h...
[10 replies] Last: Oh, ok.. Thanks I have edited it.. (by kulkarnisr)
Dictionary as Hash Table w/ Linked List problems
 
Hello, I am currently working on an assignment in which I create a Dictionary as a Hash Table wit...
[3 replies] Last: I don't see why that wouldn't work. Can you step through your app in ... (by norm b)
counter trouble
 
Can anybody help me solve the problem in my code? I am trying to place a counter to count in each t...
[13 replies] Last: code finally solved..... (by DontKnowCPP)
Changing a global variable in a thread
 
Hello. I have a small problem with my program. It is kinda a mess but I will try to explain you what...
[15 replies] Last: hmm I see. Actually I transfered my application Visual Studio, made a ... (by DjSt3rios)
mapping in the loop
 
Is it possible to let the map on a loop and map different string with different vectors? It means th...
[1 reply] : Your 'conceptual loop' creates 10 maps and immediately destroys them. ... (by cire)
Problem with curses
 
I have a folder of c++ programs that I switch back and forth between my desktop and my laptop. I rec...
[6 replies] Last: You are correct. Everything seems to be configured properly. I can run... (by Redeyery)
SDL error in code
 
im having some trouble with SDL, this is the tutorial from lazyfoo , im using code blocks and when c...
[4 replies] Last: yeah i didnt mean dont use it. i personally use it, but i know there a... (by closed account Dy7SLyTq)
How to retain all project properties when change from debug to release mode in C++ ( Visual studio )
 
Hi, I'm developing C++ application in visual studio 2012. I have couple of C++ projects in my sol...
[2 replies] Last: Lookout though because there is sometimes different versions of files ... (by Pickle Gunner)
weird sfml error
 
so i just posted a while ago about learning allegro, but got this weird error about not being able t...
[13 replies] Last: yeah min gw is 4.7.1 and thanks ill check the link out (by closed account Dy7SLyTq)
print all 64-bit binary numbers
 
I have a program in c++ to print all the binary numbers that have 64 bits. But the problem is it wor...
[2 replies] Last: Thanks a lot. That was indeed a nice idea :) (by infobliss)
by BasV
Thread-sharing a std::map
 
Hi everyone, I have a std::unordered_map<int, CustomClass*> map that I share between two thread...
[3 replies] Last: Thanks for the responses! I'll keep this in mind when working with mul... (by BasV)
by cxinio
how to march two rows of data and return only 1 value?
 
I've got two columns of data. int a ={1,3,5,8,10,12}; int b ={3,5,9}; int c ={0}; if a is eq...
[4 replies] Last: perfect, thanks a lot. (by cxinio)
Twain scanner using C++
 
How do I set the DPI of a scan using TWAIN in C++ please help me and allso set programatically s...
[no replies]
To concatenate two 2-dimensional int arrays into one larger 3-dimensional array
 
How can I concatenate two 2-dimensional int arrays into one larger 3-dimensional array. This questi...
[3 replies] Last: #include <string.h> int main() { int v1 = {0,1,2,3,4,5,6,7,8,9... (by ajh32)
if (x) means???
 
#include<iostream.h> int main() { int x=0,y=0,z=0; if (x) { x--; y=x+2; cout<<x--<<endl; c...
[16 replies] Last: Similar thread: http://www.cplusplus.com/forum/beginner/105281/ (by abhishekm71)
Spell Checker
 
Over the last few days, I've been trying to implement a spell checker in c++ that checks if the inpu...
[7 replies] Last: I replaced the new string with vector<string>, but I realized it takes... (by codecentral)
double pointer array
 
How to initialize double pointer array..? int (**aLines) ;
[3 replies] Last: 1). int (**aLines) = 0; 2). int (**aLines) = NULL; 3). int (**aLines... (by vlad from moscow)
Caesar Cipher reading text
 
I get the error of not declaring "text" "exit" but I how do I declared those variables, even if th...
[6 replies] Last: A variable of type char is required to have at least 8 bits, yes. (I ... (by cire)
August 2013 Pages: 1... 252627
  Archived months: [jul2013] [sep2013]

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