General C++ Programming - June 2011 (Page 4)

can i get Source code of fully-functional c++ programs plz help
 
i want some basic c++ programs..
[13 replies] Last: thanxs guys......for ur helpful comments... (by rahulroy)
ask for advice
 
I want to maintain a set within which every element is assigned a label among {a,b,c} besides their indexes. I can iterate all elements in the set and iterate t...
[2 replies] Last: Multimap will not preserve the original order of the elements. Is that... (by hamsterman)
Using common function in different classes
 
Dear All, I have a function member f() defined in class c1. How can I use this function by calling it in the body of another class? Thanks, B.B.
[8 replies] Last: Ok. Thanks a lot :-) (by BehzadX)
MySQL source code
 
I have to make a project in c++ and i wanted to create a basic version of MySQL such that the user enters SQL commands on the screen. What I wanted to know was ...
[12 replies] Last: Yeah, right. Thanks ashish. But I'll try out the c++ myql connector th... (by FiftyEight)
check number is octal or not??
 
Write a C++ program to read an integer and test that the given integer is an octal number or not????? i m in problem when u put 0 in first position of intege...
[1 reply] : If you put a zero in the front, you've made it octal. (by Moschops)
using info from functions to define other functions and structures
 
I first posted this here http://www.cplusplus.com/forum/beginner/45574/ but I think it might have been in the wrong section, and maybe I didn't explain it very ...
[2 replies] Last: A constant is something you should know at compile time. If you have t... (by hamsterman)
by nanger
how to get the number of the element that appears most in a multiset
 
I have a STL multiset and I want to get the number of the elements that appears most in it is there any existent function or method for example, in a multi...
[6 replies] Last: What would be wrong with treating the multiset as an array and iterati... (by buffbill)
by TSW
How Can I Make a Double Buffer? I Made a Bitmap Loader, Help please !!!!!
 
Hi ! Im Spanish. My English is low. I'm sorry. I made a BitMap Loader in Turbo C++ 3.0. I have a old computer for learn C++. I finished my bitmap loader, ...
[1 reply] : Hi, you should update your compiler and your reference book. main must... (by ne555)
sine wave drawing functionality
 
I am drawing a sine wave in a window and the problem is that when the frequency, and sometimes amplitude, change, the graph gets distorted. I am asking if ther...
[11 replies] Last: thanks, that is really cool (by closed account zwA4jE8b)
Problems Creating an Array of a Custom Class
 
Ok, im writing a custom class that uses two c-style strings and a double. Everything complies and seems to run correctly, until one takes a closer look. From wh...
[4 replies] Last: You are an absolute Life saver dude, thank you so much, I will always ... (by darkhorse)
Question about outputting
 
I want to make a game similiar to dwarf fortress (if you dont know what it is, google it, great game) but a single survivor game, and I already know how i could...
[7 replies] Last: yes, thats what i meant. and i got it on there, now i just have to lea... (by Mechlordx)
How do I securely erase std::wstring?
 
I am unsure if I should have posted this in the Windows Programming forum, so let me know. I have sensitive data shared across multiple processes using #prag...
[1 reply] : Is there an already-made secure string in STL? No. What's the name ... (by helios)
by ee2014
string parsing
 
#include"stdio.h" #include"string.h" #include"math.h" void main() { char tokens ,text ="sin(5)+cos(5)",*ptext,*ptokens=tokens ;int i=0,j,z; ptext=text;...
[5 replies] Last: Shouldn't those be in double-quotes anyway? (by LB)
Trying to Build a Phone Number Program
 
Hi, I'm Ryogathelost and I'm devastatingly new to C++. I've been a bit of a code detective today, wandering the internet finding different methods to use for m...
[5 replies] Last: Yeah, I was kinda anticipating that third problem. It runs through th... (by Ryogathelost)
Calculating bounce angle (Kinect Pong)
 
Alright, so I'm programming a game of pong using the kinect, but I'm having a very hard time getting the ball to bounce at the right angle. I am using the dept...
[1 reply] : I've never dealt with kinect so I don't understand. What input do you ... (by hamsterman)
help me for project TTime class
 
please hepl me for final project section in: http://ist.marshall.edu/cpp/projects.html The final project contains two parts. In the first part you should comp...
[5 replies] Last: Instead of class Something{ void print( std::ostream& out ) { ... (by hamsterman)
error MSB6006: "cmd.exe" exited with code 3
 
When I attempt to build a solution in MS Visual Studio 2010 I am receiving this error. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon....
[1 reply] : code would help :) You probably have some stack overflow or some othe... (by ModShop)
Sending a vector to function for sorting
 
I'm working on a input file conversion from a FORTRAN-based program to a C++-based program. There are multiple sections of the input file that look like: 10...
[2 replies] Last: Right, thank you (by jmadsen)
by jorgen
How to link to dynamic CRT?
 
I'm trying to use memory validator with visual c++ express and get a message telling me that "the application is not linked to the dynamic CRT." I've tried look...
[4 replies] Last: Oh yeah there I found it, didn't help however. Thanks anyway! (by jorgen)
by jnrakk
Weird errors, programs not working, HELP.
 
Hi peoples! im sort of new to programming, been at it for maybe a week. Nevertheless, i know enough functions to make some cool stuff. I need help with a weir...
[2 replies] Last: Thanks!! that helped a ton, but the real problem i found was in the ... (by jnrakk)
June 2011 Pages: 123456... 28
  Archived months: [may2011] [jul2011]

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