General C++ Programming (Page 63)

Pointer Deletion - Possible heap corruption (1,2)
 
Hey there. First of, I'm not exactly sure if this should be in this forum or the Linux version. I'm ...
[20 replies] Last: Hmm, it seems my post was deleted? I marked a solution and yes, it's p... (by Damien McAlear)
by RD7
Positive and negative infinity in c++
 
What are positive and negative infinity for different data types in c++, are they represent maximum ...
[3 replies] Last: double has an infinite value if std::numeric_limits<double>::has_infi... (by Peter87)
by k321
do-while, math
 
Hey everyone. I want to program a c++ program which can calculate sum: sum=f(a+h)+f(a+2h)+f(a+3h), w...
[5 replies] Last: MiiNiPaa.. Thank you very much! I look forward to try later. Thank you... (by k321)
Challenge: Find this error in Classes.
 
WE WANT TO ACCESS member fuction depositBalance() of Class account. #include <iostream> #include ...
[2 replies] Last: thanks GOT IT!!!!! (by Rehan FASTian)
by chilzm
dlta2y // functions
 
Hi everyone , im a beginner in c++ using microsoft visual studio to write and compile the code, i ...
[4 replies] Last: dude! thanks man, i see what i did wrong its working.. (by chilzm)
Long double not working
 
I'm currently working on a simulation of the motion of magnets on a rod. As part of it, there are ar...
[4 replies] Last: I had finals week. Not enough time to do much else. I'm glad you figur... (by aaronfjerstad)
runtime error
 
the code is for generating a finite automata #include <iostream> #include <map> #include <set> ...
[no replies]
Dynamic memory
 
pec_vlog_file = new char[strlen(argv[i+1])+1]; if strlen(argv[i+1])+1 = 50 This code give p...
[1 reply] : This code give pec_vlog_file a dynamic memory which is in char type w... (by MikeyBoy)
Step into function
 
Hello everyone I was wondering if there is a way to make Visual Studios step into a function while I...
[4 replies] Last: You're welcome! Glad it worked :) (by MikeyBoy)
Storing class in Array
 
How do I go about storing info to an array of class? I need to do something like this: info =...
[2 replies] Last: Either function ReadNameRating() returns a value that has your class a... (by keskiverto)
Passing an array into function as parameter
 
Hey everyone, I've literally spent hours working on this assignment and I just can't seem to get ...
[5 replies] Last: "to pass" might actually refer to two things: 1. How to define that... (by keskiverto)
extern "C" doubt
 
extern "C" { char *getwd(char *); }; May I know what does this code means? As I know...
[5 replies] Last: > Basically it tells: this function was compiled in C, not C++. It te... (by JLBorges)
DirectX
 
I just recently installed directx june 2010 sdk and everything seems to be set up fine, my problem i...
[3 replies] Last: Shouldn't this question be in the Windows Programming forum? (by MikeyBoy)
by Aceix
About IMPLEMENT_APP() macro
 
Hi all, Just want to know how the IMPLEMENT_APP() macro in wxWidgets work, how it replaces explicit...
[2 replies] Last: Can't you see that for yourself by looking at the macro definition in ... (by MikeyBoy)
please help
 
You now have a good foundation of C++ programming skills that you can use to develop a larger pr...
[7 replies] Last: You now have a good foundation of C++ programming skills that you can... (by MikeyBoy)
Please Help In Char Pointers
 
Well there is this code I recently found in a book and I need help from someone to help me understan...
[7 replies] Last: You're welciome :) (by MikeyBoy)
How does a compiler work?
 
I'm interested in eventually building a compiler. As I understand it, these are the steps involved ...
[no replies]
by Progg3
A quick question around enumerations
 
Hi, Let's say I have a "Weapon" class, which stores the weapon "Type" as an enumeration. As I in...
[2 replies] Last: > As I instantiate this class I wish to specify what type of weapon th... (by JLBorges)
by crypto
Vector troubles?
 
So here's my code... #include <iostream> #include <vector> #include <fstream> #include <string> #i...
[2 replies] Last: ifstream f ( "text.txt",std::ifstream::binary); int length = f.tell... (by cire)
Using time?
 
So I'm trying to learn how to use time for time based movement and what not. I did this only knowing...
[1 reply] : a) nobody said that time_t contains seconds. b) nobody said program wi... (by MiiNiPaa)
Pages: 1... 6162636465
  Archived months: [apr2013]

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