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

by AlecC
Help on a school project?
 
So for the past week I've been trying to make a program that tells you if an update occurs and I just barely managed to do the simplest way possible for this to...
[5 replies] Last: Sorry. I've never done XML parsing in C++. Now if you wanted it in Jav... (by Mathhead200)
any formula to share?
 
I need to do a mini project that needs to include of and else. I really can't think of any formula to use for the if and else. someone please help!!
[7 replies] Last: This is a forum for C++, and although C++ supports C, you shouldn't us... (by LB)
to get data type
 
suppose I have some variable name and I don't know its data type how I will know its data type. And if I have two variable names then how I will compare if thei...
[4 replies] Last: Agreed with quirkyusername. Besides, you still know the type of a vo... (by ne555)
by LB
Constructing a non-constructable class
 
This is relatively simple: class PrivateClass { PrivateClass(){} static PrivateClass Cheat; }; PrivateClass PrivateClass::Cheat; The reason I...
[8 replies] Last: Keeping the console open is where I got the idea for this, it looked s... (by LB)
i want to make XO Game .......
 
any one can help Me ??
[4 replies] Last: int main() { char xo ; int x,y; char m,p11,p22; string p1,p2; cout<<... (by just4luck)
App error
 
I have made an .exe in c++ with visual c++ 2005 , It works perfectly fine on my pc but on some pcs it gives an error c00000135- application failed to initiilze ...
[4 replies] Last: You need to make sure you compile the Release version of your project ... (by LB)
How to fill populate vector struct?
 
Hi all, I'm trying to fill up my vector like so: #include <ssqls.h> sql_create_6(my_ssqls, 1, 6, // The meaning of these values is covered in the us...
[2 replies] Last: Hi kbw, Thanks! That worked a treat. Bit silly of me really.. (by gummy123)
error C2371: 'char16_t' : redefinition; different basic types
 
Hi there; I generated a c++ code using matlab. but when i link them i get an error. this is the error: c:\program files\matlab\r2010a\extern\include\matrix.h...
[4 replies] Last: Looking at VC2010's yvals.h (which defines char16_t) and Matlab's matr... (by kbw)
50% Random , Got a problem
 
I need to do a random function, It should randomly do any of the two function, That means, It randomly chooses between the function which one to be executed hop...
[2 replies] Last: You need this if I understand: #include<stdlib.h> #include<time.h> ... (by KrakyCro)
How to use a webcam in C++?
 
How would I use a webcam in C++? Concepts? Steps? Different methods? I understand that this question may be too broad to answer but I don't have anything to s...
[1 reply] : I believe OpenCV can help you with that. I don't really know any other... (by hamsterman)
x
 
lcx
[1 reply] : "thissolution" does not appear in the code you pasted. If by "transla... (by webJose)
class definition operation sequence
 
Hi everyone, I have a problem with use of pointers in classes. I defined a class named point as follows #include<iostream> using namespace std; class P...
[1 reply] : Okay, first off, I hope that is just for exercise, because under ordin... (by Athar)
Import C# method in C++
 
I have C# DLL having methods in a namespace called "TestProject".I have created required .tlb file for this DLL. I am importing this DLL using statement - ...
[no replies]
Best ADT for the Job?
 
Can anyone recommend an ADT for the following job: I want to create an ADT that will house the current directory. I want to be able to add to the current dir...
[2 replies] Last: @johnnystarr: ¿why pointers? (by ne555)
overload operator ++ in a vector (1,2)
 
Hi guys, today I was trying to make to make it, but I make more and more mistakes.So I decided to ask you for ideas.So I have a vector with three integers-day, ...
[21 replies] Last: Ok, thanks a lot.Tonight I will write the whole code (I hope). (by RachelAnderson)
by ryf123
Very weired Problem
 
My program only shows two decimal precision For example I put: double a; a=1/800; cout<<a<<endl; It only show 0.00 Please help me!!!
[4 replies] Last: Thanks, I see (by ryf123)
new progammer
 
i understand classes it is a struct that holds functions in the members and has a protected, public, and a private type. can anybody contibute a very very basic...
[5 replies] Last: i have read books and i cannot find a basic explanation of these subj... (by jblevins1991)
Singleton vs. 'Static Class' (1,2)
 
For various reasons I have decided to make my log class a singleton. I could just go back through and change all the class members to static. And yet I see p...
[21 replies] Last: @Disch I don't think it's a problem: SingletonAccess(const SingletonA... (by anonymous23323124)
Travelling Salesman Problem
 
Hi guys. I am learning about travelling salesman problem and I was wondering if any of you know a site where I could get source code for C++? I checked Googl...
[15 replies] Last: I have solved a lot of TSPs and I would agree with exiledAussie that w... (by kev82)
Stuck! Weird problem with input file!
 
Okay, trying to do a simple homework problem.....writing a C++ program to read a text file and output the results. Here is C++; #include<iostream.h> #includ...
[2 replies] Last: Perfect Thanks! I just tried it and you are right~ Thank you~ (by blelisa)
June 2011 Pages: 1... 25262728
  Archived months: [may2011] [jul2011]

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