Beginners - May 2011 (Page 37)

opencv,small yet weird problem or bug
 
Hello world! This is what i'm trying: Create a blank window, do nothing to that. add a loop to main which continuously output "test". Weird think is that w...
[no replies]
prime number generator
 
i'm supposed to write a program that 1) finds all prime numbers from 2 to 10,000,000 in iterations powers of 10 (10^2, 10^3, etc.) 2) outputs the sum of the...
[4 replies] Last: now i got the bool function to work properly, and i think it's getting... (by closed account 98qGz8AR)
by writer
DLL to draw lines
 
Hi, I am retired social worker, creating an eLearning project to educate students that lets them draw diagrams. This is mostly done using an eLearning author...
[no replies]
n00b question
 
Okay so Im using Visual c++ 2010 and i have made 2 "windows form applications". I was wondering what code i would use to if i pressed a button, it would go to ...
[no replies]
This project is out of date Error
 
This is my first program in C++ but I can't get it to work. Complete noob spoon feed please don't know anything except those code I use Mircosoft Visual C++ the...
[1 reply] : that's not an error - you can click YES what is happening is, under t... (by kfmfe04)
by zz77z
how to put in element of array in order
 
hello .. help me to solve this : Write a C++ program that has an array of integers. The maximum size of the array is 100. The program should ask the user to...
[9 replies] Last: id reccomend a bubble sort for just 100 integers. it works like so: ... (by ascii)
Help with function Overloading
 
I have 3 classes which are point 1DClass, Point 2DClass and Point 3DClass. Point 1DClass contains data member x Point 2DClass contains data member y and inhe...
[9 replies] Last: I have now changed my code. Is this correct now. class point1DClass... (by student1)
error C2446: '==' : no conversion from 'int' to 'System::String ^'
 
Hi guys, I am having a trouble with the boolean. I am trying to get access to my website script and see if it have response through the httpwebrequest method...
[1 reply] : As the error says, str is a managed pointer to a System::String (IIRC)... (by Zhuge)
Help with horners
 
I have to write a program to calculate a row of numbers using horners method. I'm a three day coder, learning while doing. What I have so far is down below. I'm...
[no replies]
by orkie
Advice on new project
 
Hey all, first time posting here Basicly, I want to create a simple game that isn't the simplest to code ^^, and the simplest i could think was a game i play...
[4 replies] Last: Read the article and decided to indeed change to code blocks, didn't r... (by orkie)
by msem92
C++ program to detect palindrome words
 
I'm trying to create a program that allows the user to input a word (I am using cin.getline to put the input into a char array), and then calls a function to de...
[no replies]
Need help with my code
 
I have 3 classes which are point 1DClass, Point 2DClass and Point 3DClass. Point 1DClass contains data member x Point 2DClass contains data member y and inheri...
[1 reply] : You already have a thread for this, so stick to that one http://www.c... (by hamsterman)
UVA Online Judge 3n+1 problem
 
I tried many times but i keep getting "wrong answer" ...please tell me what is it wrong... #include<iostream> #include<fstream> using namespace std; ifstream i...
[10 replies] Last: Your swap does not work. However it seems that your program use std::s... (by ne555)
Help with listing out number of times a word appears
 
This is one of the exercises I'm doing, this is the code I've written up: http://pastebin.com/msNi4eE1 The output I get is 232 which is the total number ...
[2 replies] Last: - Line 15 looks suspicious - do you want = or == - is wordcount ever... (by cloudymadness)
What kind of order should I go with to learn C++?
 
Hi, my question is, what kind of order should I go with to learn C++? I mean, I feel like I should learn C++ in an order from easiest to hardest kind of way. I ...
[6 replies] Last: Ah okay, thanks guys! (by ItsTheFruitsYeah)
by ty98
C++ help
 
i need to know how to make a program use a dialog from a dll file. do you have any ideas? my file.dll
[no replies]
by ian l
Copying a specific char from one array to another
 
Hello, all. As a starting project in C++, I'm attempting to make a program that generates random 14-character codes. Here is the segment I'm most certain is ...
[3 replies] Last: gj, Lynx876 I would make a few small mods, though 1. Line 8: change ... (by kfmfe04)
by bbcc
constant variables
 
Hello every body, I have problem in understanding the meaning of constant variables. As far as I know, constant variables can not be modified in the scope.Bu...
[2 replies] Last: Line 8, I am pretty sure that says "double" and not "const double". Li... (by LB)
break & continue !! Help
 
Here in my code every thing works correctly except the break; and continue; what is the problem !!! #include<iostream> using namespace std; int main() ...
[2 replies] Last: aha, thanks :> (by Thuraya)
File Rename Program
 
Hi there, I'm having issues with the following code. My intention is for it to rename a file based on the content of the header. The problem is that in the...
[2 replies] Last: Excellent Zhuge. That did it, thank you. Aaron (by abrumit)
May 2011 Pages: 1... 3536373839... 48
  Archived months: [apr2011] [jun2011]

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