General C++ Programming (Page 29)

Overloading inherited function
I trying to building a game engine using c++ and SFML library. I am working on collision detection. ...
[no replies]
Obfuscating strings in code
Good afternoon, I want to obfuscate some important strings in my DLL. A simple conversion to hex ...
[no replies]
Some qustions on managing a large number of objects with a hash table
I am building an object manager that manages several type of objects that serve different purposes. ...
[7 replies] Last: [quote=TheIdeasMan]That's it, there is no conversion or casting done b... (by primem0ver)
by Raahul
Could someone please explain how this code works?
Here's the code : void main() { int i,n; char *x="Alice"; n=strlen(x); *x=x ; for(i=0;i<=n;...
[5 replies] Last: The output is : lice ice ce e I got this using turboc++ (by Raahul)
by xismn
C++ "standard messages"
Hello, I'm looking to satisfy a curiosity of mine. As a preface, Consider the following code: #in...
[1 reply] : You are asking two questions, really: 1. Is it okay to use exceptions... (by Duoas)
Need Help! Formatting issue!
This is my code, I have a formatting issue with day one being moved over, can anyone help me out? th...
[2 replies] Last: Here (line 29 or so), << setw(30) << endl; the setw serves no purpo... (by Chervil)
by dietzj
Looping function?
I'm new to C++ and currently taking an intro to programming class in school and am currently struggl...
[4 replies] Last: If you're going to use limits , don't forget to do the same thing for... (by mbozzi)
My class with overloaded constr requires default constructor while second donesn't
My class Game with overloaded constructor Game(std::string); doesn't require default constructor. Wh...
[2 replies] Last: Thank you! (by Putarda)
Need Help With Single Peg Hanoi Tower
So I'm working on a program that uses a single peg and has disks on it with different diameters, muc...
[5 replies] Last: You have it return nothing sensible now. The a and b are uninitializ... (by keskiverto)
by ayraj
Merge Sorting with Linked list
I done my project to add subjects and sort them.Im trying to sort them with merge sort but still its...
[2 replies] Last: Look at the code sample under " The behavior of this function template... (by keskiverto)
Value returning function issues
I have been going around-and-around with this and can't seem to figure out what I'm doing wrong. I'...
[8 replies] Last: I have finally got this fixed and working properly. Another question ... (by joekamel12)
Strings/search for chars/separator
Write a program that allows a user to type in tabular data similar to a CSV file, but instead of u...
[2 replies] Last: Thank you, I've been away, but I took inspiration from your post while... (by Willo123)
hey everyone, so i need help. we're suppose to write a program that reads a file of odd values and ...
[5 replies] Last: Thank you, i had to rewrite everything. (by tweaktwe)
Multidimensional array sorting
// Plokstumoje duoda N tasku pagal Y kordinate reikia surikiuoti #include <iostream> #include...
[3 replies] Last: Thank you both, it did work and im glad i asked for help :) (by Tomheza)
Table test.no_such_table doesn't exist
Hello everyone. Please help me to solve my problem with MySQL. I get mysql error message: Table tes...
[5 replies] Last: Did your SQL problem resolved? what did you do? (by shadder)
by kidush
Help with vectors!!
Hi guys, I really need help. I need to print in the screen from my file input.txt the students names...
[2 replies] Last: It could be like this: #include <vector> #include <iostream> #include... (by fcantoro)
by m7md65
checking code
#include "stdafx.h" #include <iostream> #include <string> using namespace std; int main() { ...
[10 replies] Last: Is this correct? 1. Does the code look correct? 2. Does the code com... (by Chervil)
Help with fstream into an array of structs
Hello, I've been working on a program to collect data from a txt file into an array of structs. ...
[2 replies] Last: the number initial int is only reading the 3 not the proceeding 2 0s ... (by Chervil)
Can someone please help me program this.
Your program will compute values of a formula that expresses y in terms of x. The formula is: ...
[2 replies] Last: i will i was just getting frustrated. (by marsdef12)
Using input from main function in another
I am trying to create a program that uses input from the main function in another function. I have a...
[1 reply] : (by SamuelAdams)
Pages: 1... 2728293031... 38
  Archived months: [aug2016]

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