General C++ Programming (Page 44)

Confused about this pointer arithmatic
/* strchr example */ #include <stdio.h> #include <string.h> int main () { char str = "Thi...
[2 replies] Last: thanks so he should use str type int, not string... (by csstudent123)
Variable in system()
I have a bit of code which uses system() the command it gives has parameter1 which changes all the t...
[3 replies] Last: It is a namespace where all names from standard library are stored. ht... (by MiiNiPaa)
by vxk
Advice Pointers
what are the list of precautions that one should take while using "raw" pointers.Putting the questio...
[1 reply] : what are the mistakes that people make when using raw pointers. 0) ... (by MiiNiPaa)
by Ispil
Forward Declaration Mis-Match
Well, I've run into a snag. I have two classes that rely heavily on each other through references in...
[3 replies] Last: Nevermind, solved it myself- turns out that you can include one class'... (by Ispil)
Where do i start array to vector
i am new to programming and just recently graduated from high school taking my first programming cla...
[2 replies] Last: > Where do i start array to vector Start here: (by JLBorges)
Using constructors in template class
The code below references to a header file and implementation .cpp file, which are not important. My...
[2 replies] Last: You have a problem with your includes... DELETE #include "pair.h" ... (by novellof)
by Ispil
Undefined Reference, Overloaded Operators, What?
This is for the same code as I mentioned in the earlier two questions. In this case, I need to figur...
[5 replies] Last: Thanks! Go figure that it is always something little like that that ke... (by Ispil)
matching colors
I have to write a program for school that displays a random sequence of colored squares, each square...
[2 replies] Last: c++ <iostream> <graph1.h> this is the code so far that I have. I jus... (by greatsoccerman)
by Ispil
A Mess of Pointers
Well, my code has reached an even more convoluted stage- I need to know how to access a particular e...
[3 replies] Last: Yes, that is exactly it. And yes, both are stored in a centralized loc... (by Ispil)
Do I need to delete threads?
Hi guys, if I create a new array of threads using the new operator (so I can use a variable sized ...
[7 replies] Last: It is quite straightforward: #include <iostream> #include <thread> #i... (by JLBorges)
passing page request via php
I need help guys, i want to write a c++ program that could pass a web page request, using a php scri...
[1 reply] : I'm not sure I understand. Why do you want to do this in C++? (by helios)
by Winsu
My program crash
I dont know what is happenings with my program, I have tryed to make a program fo create a matrix, w...
[4 replies] Last: [c ode] "Please use code tags" [/co de] matrix vec(a,vector<int... (by ne555)
stupid C++ compiler: cannot see class member function defined later on
Hi C++ designers, I want to make a suggestion to C++ compiler designers to adopt one feature from J...
[4 replies] Last: > such treads belongs to Lounge as there is no problem to solve. http:... (by ne555)
random Gen
In this program the user inputs the number of squares (3-5) that he wants displayed on the graphics ...
[no replies]
Debug assertion failed - Copy constructor - Delete operttion
I get debug assertion failed when trying to run this program. #include <iostream> #include "St...
[6 replies] Last: That line uses the copy constructor, so yes. (by LB)
Cannot get C++ to install with Netbeans IDE
I've downloaded both MinGW and Cygwin. I follow install instructions from multiple online tutorials,...
[no replies]
How VGA's vertical and horizontal total and retrace rendering affect output?
What happens when the VGA encounters a pixel/row with a vertical/horizontal retrace/total? I assume ...
[no replies]
Creating a Program that encodes and decodes a message?
Hey guys, I am starting this project on how to encode and decode messages that are inputted, but I h...
[4 replies] Last: Research about parsing string characters. I have created a parser tha... (by jemeripol)
ostream listeners
I'd like to make a logger for my GUI application. I currently use std::cout and std::cerr , but I...
[6 replies] Last: Got it! Line 48 above std::cout << pbase(); should have been std... (by Stewbond)
build own library (static)
Dear All, I am just learning how to build the static library on my own using visual C++ 2008. ...
[4 replies] Last: remove everything that has to deal with namespace and leave everything... (by novellof)
Pages: 1... 4243444546... 56
  Archived months: [aug2014]

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