General C++ Programming - December 2011 (Page 17)

by gtasmy
code w/o using goto
 
I admit that I am not a very skilled programmer. I have not been doing C++ very long. I know that "g...
[5 replies] Last: @Caligulaminus Ha. Must've slipped my mind. :) (by Code Assassin)
undefined reference to `libintl_fprintf'
 
How come this error? undefined reference to `libintl_fprintf' one line of my code is as: fprin...
[no replies]
by Dimpy
Need help!!!!!Garbage collection and compaction
 
Hi, I need help writing a subprogram that simulates garbage collection and compaction. If markbit is...
[no replies]
Upper half of 2D Array
 
In a 5*5 matrix i want to display the primary diagonals upper half so i developed the logic as follo...
[2 replies] Last: What all did you change , now the layout is lower half. Thanks (by sharthak ghosh)
Saving data into an array.
 
I have this code below I want to save them into an array. char testScoreGrade(double totalAvg...
[no replies]
by applee
equality using enum
 
Hi guys, I'm not sure how to test equality using enum. Is this code valid? enum month = {January...
[2 replies] Last: Thank you so much for your help!:) (by applee)
power function
 
#include <iostream> #include <iomanip> using namespace std; void pow(double base, int expon...
[1 reply] : 1) Change the name of your function from pow to power 2) The functio... (by Disch)
Word search
 
#include <iostream> #include <fstream> #include <string> using namespace std; int main(){ ...
[5 replies] Last: you're welcome =) (by Dacster13)
Dynamic arrays and files
 
I really need help on this one project Ive been working on for a while. basically i have a file th...
[2 replies] Last: Thanks, this helped a lot. But how do i take a line from each file and... (by bananatackle)
epochtime to human readable time
 
Hi all, Iam having epochtime of specific location in CString variable, I have to derive 12hour t...
[no replies]
Repeat code after failed login?
 
im making a program where you enter a login using conditonal branches. what can i use to repeat th...
[1 reply] : a recursive function would be good for this I think. (by Dacster13)
I need help
 
How do you delete data from a .dat file? I can add,update,view,search but deletion is a big problem...
[1 reply] : It really depends on what you mean by delete, which I suppose depends ... (by Moschops)
by frenia
Set and retrieve problem
 
I'm coding a trust calculation part into a BGP part of a network simulator (ns-bgp) and am having a ...
[no replies]
Can we restrict pointer aliasing of vector iterators?
 
Hi everyone, in my recent shift from arrays and pointers to vectors and iterators, I have begun to ...
[7 replies] Last: C++ has strict aliasing so if you have a pointer or iterator to an int... (by Peter87)
char with switch statment
 
I'm having trouble with the switch statement. When i input c,t or b its skips the call function and ...
[7 replies] Last: scanf("%c\n",&vehicle); '%c' states that only one character should be... (by sumati)
by MoGuL
Recursion
 
I'm trying to split a binary (only elements are 0 and 1) dynamically allocated 3D array into seperat...
[5 replies] Last: Anyone? Kinda stuck with this... (by MoGuL)
by Srija
Threading in C++
 
hi I am new in threading........... can anybody tel me what is the difference between...
[3 replies] Last: http://en.wikipedia.org/wiki/Function_%28computer_science%29 http://en... (by Athar)
by nocrej
What game programming library should I use?
 
Hi guys, I'm looking to develop cross-platform 2D games in the future, but I'm concerned about wh...
[6 replies] Last: @Aramil of Exilia: No problem at all. @WinwordExonar: Thanks again! I'... (by nocrej)
Rhapsody tutorial
 
can you share links or website for rhapsody tutorial for dummy :D thanks everyone
[no replies]
Some may help * names
 
#include <stdio.h> #include <stdlib.h> typedef struct { char** names; int X, Y; } We; ...
[2 replies] Last: Here? http://www.cplusplus.com/forum/beginner/1/ (by mmay)
December 2011 Pages: 1... 1516171819... 39
  Archived months: [nov2011] [jan2012]

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