General C++ Programming - March 2011 (Page 6)

by corto
Interface and architecture
 
Hi there, I've got a few more skills in C++ programming and I thought I'd never had trouble again after I was able to build some really cool class hierarchy ...
[3 replies] Last: For design patterns, I personally liked "Heads First Design Patterns" ... (by hanst99)
I need help with this error I am getting anyone
 
I keep getting an error : DrawingSurface.obj : error LNK2019: unresolved external symbol "void __cdecl Can anyone tell me what this means?
[1 reply] : cdecl is a compiler symbol indicating a calling convention... You shou... (by hanst99)
looping
 
hi guys can you please help me with this exercise, its my first year studying C++ and im struggling I am trying to write the code but i dont understand t...
[5 replies] Last: Thank you for your Help guys. (by cbongile)
by cdd
Debug Assertion Fail
 
Hi, i am trying to write a program which calculates the sum of the prime numbers below a specific limit using an algorithm called the Sieve of Eratosthenes(Wiki...
[3 replies] Last: Ok, i tried both the suggestions, but i still get an error about the v... (by cdd)
const/reference/pointer dilemma
 
Heya! I'm currently facing a design dilemma and was hoping some of you could shed some light on what would be the "right" thing to do. I have my class cal...
[4 replies] Last: ah alright, that makes perfect sence. No need for any stupid work arou... (by Nsanden)
Strange program behavior...
 
I just re-coded a part of my program so it validates input and now I'm having trouble with one specific part of a function of mine. It's supposed to use getline...
[3 replies] Last: Nevermind... I put a cin.get call right before the prompt. (by packetpirate)
how to find upper bound of an array inside dll function
 
I have a dll that the user must pass a pointer to an array. I want to find the upper bound of the array but the following code returns the wrong number while i...
[2 replies] Last: thanks hanst99. I was afraid that was going to be the answer. (by dinosaur)
by Boojak
Help me get started (traffic manipulation)
 
My main goal is to create an advanced program for manipulating the packets that route within my network via the router. Let my program have total control over t...
[1 reply] : I forgot to mention. I use Windows. (by Boojak)
Reference pointer template
 
Heya! I've coded my own reference pointer template class but I'm having one problem with it that I don't really know how to solve. I'll try to explain with t...
[2 replies] Last: Ah damn, i should've realised that. thanks mate! (by Nsanden)
C++ inlining functions and classes help (1,2)
 
Hi I'm writing my first big object orientated program in C++ and I did it like this. I have 3 classes TestMass, Galaxy and Universe each with a .cpp file and...
[20 replies] Last: I don't think that will affect runtime performance; other than the inl... (by moorecm)
Mandelbrot Set
 
Hi. I'm trying to create a Mandelbrot Set generator in C++, but I'm stuck! When I execute the program, I found this error: "Segmentation fault". Here is the...
[7 replies] Last: I discoverde the error! The "convert: delegate library support not bui... (by RokkoXXII)
Program design question.
 
I'm having trouble figuring out how to design a specific feature of my program, specifically, input validation. Now, I have several points in my program that pr...
[7 replies] Last: Looks interesting but I don't know if this is in any way better than l... (by hamsterman)
Application programming
 
I have taken programming in c++ learned the basics, for&while loops, pointers, etc... I am current using visual studio to create, compile, build, and execute my...
[1 reply] : For dll injection: http://www.lmgtfy.com/?q=dll+injection. (by webJose)
File I/O, Modular Programming
 
Hi all, For those of you that don't know me, click on the link if you're interested: http://www.cplusplus.com/forum/general/38389/ . Basically, today I'm ...
[no replies]
by dev101
Extrac data resource from acf data file.
 
I have a game built in c++ that uses a .acf file as resource file. And I want to read this file and export images that exist in this file. I decompiled the .e...
[no replies]
by Rosto
User determining Size of Array of Structs
 
Hi, I need help with a homework assignment. I have a struct which contains some basic information about a student and their test grades. I need to have the u...
[7 replies] Last: numStudents is uninitialized. Isn't your compiler warning you about th... (by closed account D80DSL3A)
Pointless?
 
Today, I was writing a piece of code when I found out that if I typed a variable's identifier( after defining it ) without doing anything with it, is allowed. B...
[10 replies] Last: Thank you, Hanst. I was able to locate the version: 4.4.1. I guess it'... (by closed account zb0S216C)
Decimal Problem
 
Having a problem with my code... its not showing the decimal point when its outputted? anybody have any of suggestions why this is happens and how I could fix t...
[2 replies] Last: Thanks works now :) (by Kearney401)
by deffe
Simple JSON parser. Why dont I find them?
 
Hi all Im moving over from PHP to C++ and Im trying to find a Simple Json Parser but all I can find is big frameworks. I imagine two files. one header fil...
[5 replies] Last: Try the UniversalClass, if your coming from PHP I think you will find ... (by jadenton)
C++ design question
 
Hi there, This is a question about design in C++. Maybe you have some suggestions on what’s the best way to approach this. I’m working on refactoring ...
[no replies]
March 2011 Pages: 1... 45678... 31
  Archived months: [feb2011] [apr2011]

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