General C++ Programming - September 2013 (Page 14)

Unhandled exception at 0x0f85d442
 
I have been assigned to create a search function in text file, but I received this error when I run the program and try to search: Error message: Unhandled ex...
[1 reply] : Sounds like you have a pointer problem, either deleting memory you sho... (by firedraco)
NEED a Free compiler for C++ on windows 8
 
hi Please anybody tell me which is the best free compiler available for c++ on windows 8 platform. please tell me free compiler because i am student.
[8 replies] Last: Follow these instructions: https://netbeans.org/community/releases/72... (by Smac89)
UTF-8 file to string
 
Hi, I have a UTF-8 file, that looks like this: /****** Script for SelectTopNRows command from SSMS ******/ SELECT COUNT(*) FROM . . WHERE . . .Eve...
[5 replies] Last: No, normally UTF-8 files don't use it, it's the pecularity of whateve... (by Duthomhas)
creating one class object in constructor of another class
 
hello, suppose i have two classes A and B so how to access object of class A in constructor of B's class as a parameter thanx in advance
[6 replies] Last: Intialization lists will initialize a variable instead of just assign ... (by Stewbond)
SDL/GL with SOIL
 
Hello, i decided to start programming again after years of break and i wanted to get a "testprogram" up where i can experiment with graphics. Im using SDL for t...
[3 replies] Last: I have already said that the call is unsuccesful! No, actually, you... (by cire)
by Mats
Pathfinding.
 
I would really appreciate some help with this! Here is my code: http://textuploader.com/?p=6&id=Jq9B9 So the program generates a random grid of walls '#' and ...
[2 replies] Last: Thanks for the advice ne555. Time to get fixing... (by Mats)
[AI]strange bug problem at c++
 
I am trying to make a BotClean Partially Observable,but there is a bug in between line 21 to line 36,Although at debuging j<=newposy but at the watches window ...
[1 reply] : at the fourth iteration i=0 and j=3,why j=3 it exceed new_posy by 1 ,... (by cire)
rewrote lexer, still getting core dumped
 
so i rewrote my lexer, which i needed to do anyways because the last one was written horribly and wasnt grabbing full names, but anyways, this rewrite is gettin...
[8 replies] Last: i meant that when the - 1 was suggested to be taken out i did and it s... (by closed account Dy7SLyTq)
by Alby94
Store and Print string in C / C + +
 
Given this sentence as an input: "Hello my name and "John" (with its spaces and capital letters), print it on the screen .. NB the phrase must be entered from t...
[3 replies] Last: getline(): http://www.cplusplus.com/reference/string/string/getline/ (by closed account jwkNwA7f)
Call C++ function with args from Java.
 
Hi. I am working on a project in a group at a university. I really need help with this one. We are creating a GUI in Java where the user can enter parameters....
[5 replies] Last: I experimented with JNI, it was fun. There's also JNA which is worth c... (by LB)
by tatai
problem in reading file
 
I am trying to read a file (hwsd_soil_type_mainUK_11.txt) and store the output in different files (soils_id_a.in). The values of 'a' is from another file (tempo...
[5 replies] Last: Thank you very much!! Ya!! I found the problem was in using the 'for l... (by tatai)
Could my code be written cleaner?
 
Hey guys, I've got some lengthy code in my lab that I think could be written a little cleaner but don't really see a way how right now. Does anyone think they ...
[4 replies] Last: No, get rid of the branch. for (i=0; i<capacity; i++) { temp = l... (by Duthomhas)
Making a Word Jumble Game (Need feedback)
 
Hello cplusplus community! I'm getting back into programming and I've been reading the [Beginning C++ Game Programming] book to go over a few things that I didn...
[no replies]
A code to knw the System Information
 
I want to get a code by which I can get the system Information, like which processor, ram n which OS I m using. Mostly when we rite click the on my computer n g...
[1 reply] : Linux kernel documentation describes the API, i.e. which functions to ... (by keskiverto)
Help with hwk issue.
 
.
[3 replies] Last: http://www.cplusplus.com/forum/articles/40179/ (by Daleth)
Positioning SFML text specifically
 
So, my problem is so: I am trying to position and sf::Text relatively to another sf::Text. Not over, or beneath or anything like that, but after- like so: ...
[4 replies] Last: OK, thanks! You solved a whole lot of my problems! (by Superdude)
max increase and decrease in arrays ?
 
I have an array that is int arr ={{1, 3}, {5, 9}, {0,1}, {2, 0}}; and I am trying to get this code worked to find the max drop which is - [2,0] = 9 and ...
[5 replies] Last: So, essentially you do have a 1D array, that you just happen to have s... (by keskiverto)
someone please help
 
.................................
[3 replies] Last: That's prob one of the worst + operator overloads I've ever seen. You ... (by closed account o1vk4iN6)
ofstream: User creates filename?
 
Hello! I'm trying to automate this crazy formatting ritual I go through at the end of each month to create income statements. I need three versions of it. ...
[11 replies] Last: > I vaguely remember some funkiness with getline in certain places. Ma... (by JLBorges)
moving words
 
Hello. Here is my code so far: // Rotate.cpp : main project file. #include <iostream> #include <string> #include <Windows.h> using namespace std; HANDLE con...
[4 replies] Last: To rotate the string, use std::rotate() http://en.cppreference.com/w... (by JLBorges)
September 2013 Pages: 1... 1213141516... 36
  Archived months: [aug2013] [oct2013]

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