
please wait
by SteveOshnall
Rewriting depriciiated oststream implementations HELP!
|
I am editing a an old but very useful program from 1999. Please help me properly replace outdated parts of the code. Here I have some headers that are outdated.... |
Aug 27, 2014 at 3:25pm
[4 replies] Last: It looks like I've been ninja'd in regards to the answer. One more thi... (by Computergeek01)
|
by klove93
homework help please!
|
Hi everyone.. I need some help on a homework assignment. I have been reading on it and trying to create the program for the past 5 hours or so and now im just g... |
Aug 27, 2014 at 2:15pm
[2 replies] Last: Thank you so much! It worked :) (by klove93)
|
.f float suffix question |
I'm trying to get my head around this piece of code, which demonstrates the use of integer literal suffix: { // Demonstrating .f float a = 3.2; if ... |
Aug 27, 2014 at 2:09pm
[2 replies] Last: Thanks Ganado. I wasn't relating it to binary, makes much more sense ... (by slouchcouchgamer)
|
by JackMorrill
2D Arrays in a Function
|
Hello, I am trying to create an AI Player for my Tic-Tac-Toe game, yet when I try to make the AI change to a random co-ordinates, it doesn't change the variable... |
Aug 27, 2014 at 2:02pm
[3 replies] Last: Alright, thanks for the help, guys! I'll update my program now. =) (by JackMorrill)
|
by T4l0n
return struct function
|
i can't manage to return the naga.x value in the line 55 function #include <iostream> #include <cstring> using namespace std; struct newship{ string... |
Aug 27, 2014 at 11:51am
[2 replies] Last: Your code copies newships quite a lot. Also, most of the functions wo... (by dhayden)
|
by iamnoob15
Truth Table [Help me]
|
Our teacher told us to make a program about truth table. condition 1 condition 2 false false = false false true = fa... |
Aug 27, 2014 at 11:50am
[2 replies] Last: Thank you sir! :) (by iamnoob15)
|
pointer to pointer to const |
why this code is illegal ? int i = 10; int const *const cp = &i; int const **cp2 = &cp; //if i declare cp2 as a pointer to const i cannot modify nor cp n... |
Aug 27, 2014 at 11:28am
[3 replies] Last: int const *const cp = &i; You cannot change the pointer cp, nor the ... (by dhayden)
|
by vikk
Develop C++ program for Linux on Win7.
|
I need to develop a program targeted for Linux (Debial 2.2). I'm using a computer with Windows 7 (64). I'm lost a bit in a variety of information found... So,... |
Aug 27, 2014 at 11:18am
[8 replies] Last: When I say 'clone' I mean this: https://www.vmware.com/support/ws55/do... (by vikk)
|
by eastw
Vector Iterator Not Incrementable
|
I try to store all generated value by pushing the values into vector. However I encountered a debug assertion message displaying:"Vector iterator is not incr... |
Aug 27, 2014 at 10:05am
[5 replies] Last: because after this, pushing the values into a vector is done.. I will... (by eastw)
|
by skkwan
A small program about interest loan from bank.
|
Hi guys , I'm new to C++ programming language. I made a program but I need some suggestions to improve my coding skill, my questions are ,is my code too complic... |
Aug 27, 2014 at 9:01am
[6 replies] Last: Yanson, Oh yeah! I've forgotten if a user enter a character, a big mi... (by skkwan)
|
by hariboo
reading from file
|
Hey! So I recently started to learn c++. I'm now working with reading from file tasks. I now know how to read all the information from .txt files but im stuck a... |
Aug 27, 2014 at 8:33am
[6 replies] Last: How all the code should look like? (by Dovydas Milius)
|
by abdalimran
Can't understand the meaning of some code using stod()
|
I am not understanding the meaning of the following 2 lines. What does it tell the program to do? double earth = stod (orbits,&sz); double moon = stod (orb... |
Aug 27, 2014 at 8:11am
[5 replies] Last: Thnak you all..its clear now. (by abdalimran)
|
by bonho
std::map key sorting
|
Hi, I'm wondering if there is an equivalent of std::map in which the iterator is sorted in the way it was inserted without going through its default sorting?... |
Aug 27, 2014 at 7:51am
[1 reply] : You can give the std::map third template parameter: Compare That way y... (by keskiverto)
|
by bjseybold
Making stack with linked list - Confused
|
I know we're not supposed to post homework here and I'm not. I'm hoping someone can clarify exactly why we've been told to do a linked list in this way. Previ... |
Aug 27, 2014 at 6:49am
[1 reply] : > Previously when I did linked list the head was the same as every oth... (by ne555)
|
by OmidMech
return
|
Hi, I am trying the following code. I haven't written "return" in the function, and I expect after executing the "cout" line, it prints "0" which proves that... |
Aug 27, 2014 at 6:21am
[7 replies] Last: Thanks a lot. (by OmidMech)
|
by akothidar
Auto formatting- Visual Studio 2008
|
Hello, I am a mechanical engineer by profession but I have just started learning c++. This question is regarding the IDE and not cpp in general. Please do ... |
Aug 27, 2014 at 6:09am
[no replies]
|
by hellworld136
Reducing a matrix by 1/4 size
|
I'm doing a practice problem and it states: Image data is conveniently represented as a matrix of values. A greyscale image is a 2 dimensional matrix of intege... |
Aug 27, 2014 at 5:41am
[1 reply] : I got it working a bit but I'm not sure if it's correct. I'm a bit con... (by hellworld136)
|
by SamuelCBG
chat between two computers using LAN
|
hello...! Can any one help me in (C++ or in general programming) chatting between two computers with LAn in windows 7... |
Aug 27, 2014 at 4:17am
[2 replies] Last: just i want to chat between two computer using lan in c program implem... (by SamuelCBG)
|
by GMBeats95
Data Structures example in tutorial.
|
I am reading through this(http://www.cplusplus.com/files/tutorial.pdf p. 78) tutorial and it has been very useful thus far. I recently got hung up on data str... |
Aug 27, 2014 at 3:46am
[1 reply] : notice the underscore. movies _ t is the type. So that is why you ne... (by giblit)
|
copy one array to another |
hey guys i need a litle help why this code will not work?? plz help me a = b works but it is a shallow copy ?? how to make a deep copy of this ...plz hel... |
Aug 27, 2014 at 3:45am
[11 replies] Last: thanks bro can you plz tell me about shared_pointers in c++ actually ... (by MRKSalman0349)
|