General C++ Programming - April 2014 (Page 23)

please help
 
OK SIMPLE CODE WITH AN ARRAY THAT I NEED TO DECLARE THE SIZE TO 16 AND OUT PUT A-P FORWARD AND BACKWARDS IN CAN ONLY GET IT TO WORK IF I DECLARE IT TO SIZE 17 B...
[8 replies] Last: i have to do both forward and reverse, which i did but my issue is not... (by MaseratiDeluxe)
Code Not Tracing Back Through Parents
 
I have been working on A* path-finding for a couple days now trying to make it work. I have everything working as it should, except for the part where it goes t...
[8 replies] Last: NEVERMIND, I have solved it. I just needed to change the default index... (by Mayday556)
by helios
Self-referential function pointers
 
While trying to come up with an elegant way of emulating TCO in C++, I came up with this odd construct: typedef T (*foo)(T2, foo &); But the compiler rejects ...
[no replies]
Using "get function" properly
 
Hello, I have been browsing the forums for a while trying to find the proper way of using "get" or "getline" to retrieve data from a file. Unfortunately to no a...
[no replies]
Looking for some insight on a book.
 
Hello all, I'm looking into getting a data structures book in c++, but it seems all of them have their flaws. The one concerning thing is the majority I find ar...
[2 replies] Last: The tutorials on this site are great/good, I just wanted a book as wel... (by Queso36)
Access Granted
 
Im trying to get the program work correctly and its running, but the problem is as soon as i enter the username and hit enter, it doesnt allow me to enter passw...
[2 replies] Last: @ Disch thank you for help, i got it now. here's my updated code #in... (by krrish123)
Class Terminology question
 
Hello all, I just got a homework assignment today that has some terminology the book doesn't help me understand. My homework assignment gives me 2 classes...
[7 replies] Last: You can use the old function from the old class, yes. A more precise ... (by Little Captain)
by r85
nested if-else statements
 
I am new to c++ programming, and I wrote this program. It runs perfectly but the problem is I want the program to stop If I entered letters other than A,B or C ...
[6 replies] Last: Thank you All That was helpful (by r85)
how can i make function that can read an unsigned integer into a variable of type unsigned short int
 
How can i write a function that will read an "unsigned integer" into a variable of type "unsigned short int"? i can not use cin >> inside the function .. so i ...
[16 replies] Last: I figured it out. thanks for trying to help. (by Noob Programmer)
Network fetching
 
Hi, I was wondering if and how it is possible to fetch network data like Nighthawk does, I don't need anything special really, what flies through the sockets. ...
[7 replies] Last: I have never done anything related to packet sniffing, I'm just tellin... (by LB)
vector<pair<string,double>>
 
Hi, I wrote something like that: #include <vector> #include <utility> class S : public class Number{ private: static std::vector<std::pair<std::strin...
[6 replies] Last: I love You LB!!!! Everything works perfect. (by Hiciorman)
sort predicate w lambda = compiler error
 
Here is some code with the error messages at the end. I can't figure out why I get compiler errors. If I comment out the sort statement, the compile error goes ...
[7 replies] Last: Why are you using a linked list here? Most likely it is making your co... (by LB)
no error but program not moving further
 
i am very sorry to post this long code but i was in great pain figuring out whats happening...i checked it using breakpoints the code is not moving further li...
[5 replies] Last: no (by praneshiitm)
by edo
sort by name, surname, number,
 
hy everyone! I have a text file containing the names and surnames of enrollment numbers and grades of students (looks like this: RIKI Rikic E2345678 10 JUP...
[1 reply] : Look at http://www.cplusplus.com/reference/algorithm/sort/ (by keskiverto)
Chess game In C++ with error handling
 
hello this is my first topic and first game in c++ i hope you like it it a simple chess game but only this time it handles errors it is not completed ye...
[3 replies] Last: so guys what is your opinion .......... (by nacer14)
Flappy Bird !
 
Hello! I have created Flappy bird game for Windows console! I want to share my code with you. Code with comments! Note that for highscore saving you need to cr...
[2 replies] Last: Now try doing it without goto or global variables. (by LB)
by ayu05
Convert text file containing 0 &1 to binary file
 
Hi I just wrote a program for Huffman Encoding, where I take a text file, encode it in the form of 0's and 1's, and save that as another text file. However, t...
[1 reply] : I highly recommend editing your post and use code tags. http://www.cpl... (by SamuelAdams)
by DavidT
fatal error C1083: Cannot open include file: 'iostream.h'
 
I'm a beginner in C++ and currently taking this subject. Using visio studio 2013 here is my programming code: #include<iostream.h> #include<conio.h> ...
[3 replies] Last: Just how old is the course you are doing / book you are reading? <iost... (by TwilightSpectre)
C++ Vs Java
 
What are the major differences between C++ and Java programming Language ? Let us fish them out.
[7 replies] Last: SHOTS FIRED! TAKE COVER! (by Lachlan Easton)
WriteProcessMemory bytes
 
hi i need some help with writing bytes to external process to remove a detour that the program does this is what im trying it fails HANDLE Handle = OpenProc...
[8 replies] Last: Are you talking about manual mapping? If so I tried that an didn't wo... (by poohpooh)
April 2014 Pages: 1... 2122232425... 41
  Archived months: [mar2014] [may2014]

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