General C++ Programming - October 2012 (Page 26)

Program to encrypt/decrypt files
 
Hello! I have the a program with me.. but there are too many errors. Listing some of them: encrypt.cpp(12) : error C2065: 'cout' : undeclared identifier encryp...
[1 reply] : You will need to post your source code. There's no point in anyone at... (by kbw)
by beeb
Converting string/char into integer
 
I've spent countless hours googling how to do this. I've read many solutions and still confused. Most of the solutions deal with an automatic input into the var...
[2 replies] Last: This code char letters ; int length = strlen(letters); ... (by vlad from moscow)
What do I need to know to make a 3d game engine?
 
What do I need to know to make a 3d game engine using c++ I have little to no knowledge of this and would really appreciate it if someone could help, and can yo...
[16 replies] Last: YEAH!!! iv learned the basics :D (by seanjintix)
Help with basic arrays
 
We just stared with arrays today and i have a hard time understanding them. I am trying to implement arrays into a program i already did before, the program fin...
[no replies]
Returning a string
 
There is no possible way to return a string right? I tried it with no luck with a couple of variations. #include <string> std::string function(){ std::string...
[7 replies] Last: But I wanted to just return a string variable Yes it's possible, and... (by closed account DSLq5Di1)
Handling Console Window with C++ / SFML
 
I'm getting pretty well acquainted with SFML now, but I have a couple questions. Using SFML or not, what is the best (most portable way - windows, linux, and...
[no replies]
Need help please
 
I need a help please. I have to count the frequency of values in the array. I have this code: int main() { int size; int val, count; int list = {3,4,3,...
[2 replies] Last: Sorting of array was one of the tasks. The assignment asks first to so... (by Nurlana)
Inherited STL list iterator and overloading * and ->
 
I'm inheriting an STL list iterator and overloading operator* and operator-> to hide the link variable in my Node struct. I'm not familiar with overloading o...
[3 replies] Last: Guess I just didn't understand what I was trying to do. I need to impl... (by skrug80sc)
DirectX
 
Does anyone know of any way to use directX 9 with dev-c++ 4.9.9.2 i had recently bought a book on directx but i cannot figure out where to get directx for de...
[no replies]
Polymorphic code
 
I'm trying to write some polymorphic C++ code for a computer security course I am taking. Our only requirement is that we take an MD5 hash before and after comp...
[12 replies] Last: You can still do something like 1. Run executable (e.g. 1.exe). 2. Cop... (by helios)
"Parse issue, expected expression" when using counter
 
Hi, I'm trying to write a piece of code, but am having a problem using counter, and I have no idea what's going on! (The code's not finished yet, but it should ...
[5 replies] Last: Do I need to mention it a third time? count = 1 is an ASSIGNMENT. ... (by cire)
Help reading a text file
 
I have an asignment where i must read and then later do calculations with the data. I need to •Code for employee classification (H for hourly, S for salari...
[1 reply] : You have to read from the file before checking 'code'. Try this at the... (by glsmn)
_beginthreadex tutorial please
 
i know how to use _beginthread which is prone to memory leaks. i know how to use boost threads. but i do not know how to use _beginthreadex. primarily how t...
[no replies]
Multidimensional Array Classes
 
To anyone whose interested, If you're like me, you've never actually thought about the inner workings of multidimensional arrays, even when you needed them f...
[no replies]
by Alx101
Strange OpenGL runtime exceptions
 
Hello! I was working on a class that would abstract the OpenGL subsystem from the rest of the program using a set of functions, however I keep getting several r...
[16 replies] Last: I solved it by sharing the subsystems object with Editor from Core (by Alx101)
help project due and im stuck
 
hey i have most of the program done, the project is a train yard simulation (inheritances practice), but i have ran into a block where im trying to read in from...
[7 replies] Last: Yep! (by rollie)
hours of work logic..
 
what is the algorithm for time in and time out for a payroll system.. to solve for hours of work .. pls help me thaks an God bless
[2 replies] Last: Do you have any ideas? I have one: HoursWorked = TimeFinished - Tim... (by TheIdeasMan)
changing variables within functions in other files
 
Hi guys, I am still new to using headers etc and keeping different classes and functions within different files. Basically, I thought that whenever you include ...
[5 replies] Last: that works great. I was doing the same thing before but passing it to ... (by mikeecb)
Help with a very special programming that I am not quite use to
 
You are asked to write a program that manages a company's stock. To manage the stock the program need to keep track of item information, prices and quantities....
[4 replies] Last: Can somebody actually show me the entire code that will run this prog... (by ResidentBiscuit)
by bimai2
garage door open program
 
Our group had to write a program for a garage door. we are working as a team. Our team had to write the car approachaway part with the instructions below. After...
[no replies]
October 2012 Pages: 1... 2425262728... 50
  Archived months: [sep2012] [nov2012]

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