General C++ Programming - April 2010 (Page 10)

Separation of internal and external interfaces
 
Hi all. I am currently writing some sort of library or framework. I have two classes, say CFoo an...
[9 replies] Last: Hi, i was otherwise occupied the past week, but better a later answ... (by TheBear)
by Rycul
Code not 'detecting' correct symbols.
 
Heya everyone, I'm having a problem with some code that I basically used in quite the same fashio...
[4 replies] Last: Haha, Disch you posted while I was editing mine after I realized that ... (by closed account 1yR4jE8b)
by EruEru
Convert VB to C++
 
Can i convert VB code to C++ code?? How can i convert the code?? this is my VB code. Dim Open...
[3 replies] Last: The VB code uses a fancy wrapper for the Win32 DialogBox functionali... (by Duthomhas)
by minix
where am i wrong
 
What is the problem with this code. Its not printing the 2nd printf!!!! #include "stdio.h" i...
[2 replies] Last: Thanks for clarification :) "We should not mix signed and unsigned wi... (by minix)
by Alan
Stumped on probability
 
I've tried fruitlessly to produce a function that returns true or false based on a probability value...
[4 replies] Last: Aw... the person who asked the question beat me to the answer. All... (by Albatross)
copying a vector<vector<vector<bool> > > container
 
Hello programmers, I'm working on discretising continuous shapes into a 3D image, and for this I'...
[7 replies] Last: What it sounds to me like you are trying to do is essentially a blit. ... (by jsmith)
by evan54
end or programme/pointer problems
 
Hi, the programme runs fine (or at least so it seems) until the very end is reached at which poin...
[1 reply] : We have no idea what program this is and what it's original code was. ... (by Albatross)
Problem with classes and pointers
 
I am trying to do this project. The basic directions are to make a program with a class that has two...
[2 replies] Last: Thanks! Your suggestions really helped. My program runs fine now. I do... (by unitron6991)
When is C really necessary? (1,2)
 
Dear all, there are quite a lot of examples, where people (even knowing C++ no worse than C) choose...
[32 replies] Last: It is always easiest to write in the languages you are most familiar w... (by Duthomhas)
by f16
complex asin with <complex> (NOT complex.h)
 
Hey there, as we all may know the <complex> and the <complex.h> are decoupled and one shouldn't u...
[3 replies] Last: Thanks! That's how I solved it: // Implement complex arcsin comp... (by f16)
Arrays with classes compile error
 
#include <iostream> #include <string> #include <iomanip> class Tic { private: ...
[2 replies] Last: ohhh whoops, i was thinking of maple :P thanks for your help (by makaveli93)
Nested For Loops
 
Hi i need to write a code that creates a certain pattern X X X XX X XX X XXX X XXX X XXX X...
[2 replies] Last: A for loop with a switch case would be useful for you. If you want you... (by Albatross)
by qabil
c++ coding competition
 
Hy.. I want to make program for a competition, but I dont have any idea want to make what any su...
[15 replies] Last: i actually love math, math hates me. (by blackcoder41)
create a PDU containing a double
 
Hi, I am building a networked game and need to send a double variable to a server client dialog....
[2 replies] Last: ok thanks for the advice! (by ryanHeartfield)
vector with class?
 
im trying to display the string using vector but always got problems.. pls help? error is : error...
[1 reply] : You have a container and an object with the same name: vector<Prope... (by mcleano)
class::struct::char*
 
Hello community. I'm new here. I've signed up because I hope to find some solutions when I have some...
[3 replies] Last: As long as you initialize all the pointers. But since you have to i... (by jsmith)
Templates
 
Hello Everyone! I am currently trying to use function templates in order to rewrite two linked li...
[7 replies] Last: Disch is right with the line-14 comment about templates, however I rec... (by imi)
Increments and Order of Operation
 
I don't have time right now to run it, but you might want to look at this: http://en.wikipedia.org/...
[2 replies] Last: O_o Albatross was trying to get people to run a program that was testi... (by firedraco)
Multiplication table program is stuck in a infinte loop, can't seem to debug
 
I'm writing a Multiplication table generator, I'm finished with the code with 2 minor issues I can't...
[4 replies] Last: No, thank you for being so patient while I take twenty years to respon... (by Albatross)
bool loop problem
 
hello, I have to create a tictactoe game for my programming class. I have everything working execp...
[4 replies] Last: i got it working, i'm stupid i was missing a = in if(game[selection/3... (by lamorak)
April 2010 Pages: 1... 89101112... 24
  Archived months: [mar2010] [may2010]

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