General C++ Programming - January 2013 (Page 28)

unordered_map
 
A short code before I proceed with problem: class A {public: A(int input) : mem_var(input) { } ...
[2 replies] Last: This is also the case with std::map. If you instead use the at member... (by Peter87)
by hab186
How to stop execution of a particular set of code
 
Hi all, I am writing a windows form application program that on the click of a button starts to e...
[1 reply] : There are two ways you could do it. The simplest way would be to have... (by NGen)
by ostar2
I am trying to merge binary files (1,2)
 
I am attempting to merge binary files. However, this is to no avail. The program keeps segfaulting. ...
[25 replies] Last: I meant like an image of a partition or a file system. (by ostar2)
by raduh
Mouse handling
 
Hello everybody! I have recently started game programming and although the graphic part works fin...
[2 replies] Last: Get a lib designed for this kind of thing. Like SFML or SDL. (by Disch)
Crash std::cout<<float number
 
Hi! I have the next code, that give me a crash when I show a float number. This only happens in B...
[4 replies] Last: Uhmmm...I detect the problem. If I delete the variable dMass from Phys... (by ShotoReapre)
C++ IDE (1,2)
 
please tell me which is a fairly good free IDE for C++. I presently use the turbo C++ IDE. it has...
[31 replies] Last: This is my advice. install qt creator and learn qt. It is a framework ... (by majidkamali1370)
Reading Data from website to excel with login etc
 
Hello all! This is my first post on this board so bare with me! I work for UPS and run an op...
[no replies]
I'm attempting to run example code, but Boost's graphing library doesn't like it
 
I want to preface this by saying that I have some experience with C++, but I'm new to Linux and the ...
[3 replies] Last: You were right, Cubbi. It was a version issue. Siconos 3.4.0 is not co... (by chris3145)
sorting
 
Hi, I know one working solution of my sorting problem, but I am curious if there is a better way ...
[2 replies] Last: Great. Thanks. (by bhatiaharsh)
Translation Fortran >> C++
 
Dear C++ enthusiastics, I want to use within a C++ program a subroutine written in Fortran. Th...
[6 replies] Last: If you have the fortran source code you could try f2c on it http://e... (by mik2718)
Absolute fastest container to lookup names
 
Names are std::string no more than 3 characters in length. What built in container or boost contain...
[2 replies] Last: I'd imagine std::unordered_map or std::map (by ResidentBiscuit)
Help with bullets in my Allegro 5 game. (Soon to be game)
 
Every time I fire my bullets, it always fires them out all in one burst. But I found that deleting ...
[3 replies] Last: Yeah, I may have misinterpreted some parts of your code. eg. I just no... (by closed account D80DSL3A)
Memory and Pointers
 
Hello i have a program to solve, i am quite good in reverse engineering...that is i will understand ...
[3 replies] Last: thankyou so much for your prompt reply, much appreciated :) (by shoaibcplus)
by ane
"matriz could not be resolved"
 
I need used a array (that is declared in routing.cc) em UDP.cc, already include the routing.h in ud...
[2 replies] Last: routingTable.cc Define_Module(RoutingTable); public: int matrizA =... (by ane)
ENTER NUMBER OR LETTER and ASCENDING OR DESCENDING PROGRAM. PLS HELP
 
our professor gave us an assingment. 1. Choose what to enter NUMBER or LETTER. 2. Choose type of s...
[9 replies] Last: It would be around line #8 in your code and would look almost exactly ... (by closed account o3hC5Di1)
Strange bug converting little endian to host endian
 
I am having a problem with a function I wrote to convert little endian byte order integers to host b...
[2 replies] Last: Thanks heaps, I totally skimmed over that. (by steve9164)
CRUDL class design
 
Hi everyone, I'm trying to set up a basic class that will perform CRUDL operations (create, read,...
[2 replies] Last: *polite bump* - moved from beginners to general. (by closed account o3hC5Di1)
JNI: Call java from C++ lib
 
I write some code for my native android lib to communicate with smart card via jni. There are: Li...
[no replies]
Sorting Vowels, Consonants, Digits and Other Characters in a String in C++
 
//Sorting Vowels, Consonants, Digits and Other Characters in a String in C++ by soulrazzmatazz13@fac...
[2 replies] Last: //Other alternatives. #include <iostream> #include <string> using n... (by m1rv9n41v5)
Functions
 
Hello, this is one of my first posts with c++ help soo yeah. But today i need help with functions. I...
[5 replies] Last: Plus you would get more responses if you posted this in the beginner's... (by guatemala007)
January 2013 Pages: 1... 2627282930... 36
  Archived months: [dec2012] [feb2013]

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