Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 1,383
C++ clr programing question
Hi all, i was wandering if someone good explain to me about clr? what are some advantages or disadvantages of programming c++ with clr, what are the main differences if there are any? If I understand...
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 786
ofstream with an array
Hi I am trying to store an array into a file. I have tried a few ways but I end up with an extra line at the end of the file. The only way I can do this without the line is by writing <div...
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 817
vector trouble & 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(Wikipedia it). I am getting an error though...
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 845
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 839
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 843
compiler error that variable is uninitialised
Hey everyone :) I've been working on the first part of a program which I'm doing in 4 steps. Here's the first step which I have completed: Function inputAndValidate This function inputs the time....
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 770
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 783
Resizing dynamic array
My assignment is to make a program that can resize a dynamically allocated array. But when I delete a value, the program crashes (memory leak?). Here's my code. <div class="codeblock"> <div...
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 845
Win32 Api Edit control context menu
Hello.Does anyone know if you can disable the popup menu from an edit control ?Also can someone suggest a good method of trapping a mouse right click on an edit control within a window's main...
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 950
Memory allocation for a char pointer
<div class="codeblock"> C++ Syntax (Toggle Plain Text (http://domainnameforum.org/#))
<div id="code1649973691_1"><ol><li class="li1"><div class="de1">
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 874
doubt in new operator c++
I tried out this sample program <div class="codeblock"> C++ Syntax (Toggle Plain Text (http://domainnameforum.org/#))
<div id="code1206536565_1"><ol><li class="li1">
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 802
Huffman Coding - Final Step. Help.
I made the Huffman code algorithm... and made the tree as it should be made.. The problem comes how do I print the code from the tree.. Theoretically I know the code generation.. But how to implement...
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 832
Separate functions not outputing?
I need some help with an assignment, it is supposed to have 9 functions, one being main, and the other 8 void. The ONLY global variables that are allowed is the istream and ofstream. All programs...
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 734
Factorial Using loop
I'm brand new to C++ ,I've written following code for finding a number's factorial,Can you please let me know how to write it more elegantly ? <div class="codeblock"> <div class="spaced"> <div>C++...
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 783
How to Read a String^ line by line
Hello I have this code below where I use the method ->ReadToEnd() to read in the whole file into the String test. The thing is that I have to use the method ->ReadToEnd() in this case because I use...
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 886
I need Windows.h
Hello, In my program, I needed to do some functions that are found in windows.h, but I got an error saying that it could not find any of the following: #include #include #include #include Could...
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 988
Finding smallest prime divider of NUM
im looking for a more efficient algorithm, is there any known one? ive checked my math books and c++ book and really didnt find anything more efficient than the following : <div...
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 922
How to edit ms access files ??
I am doing data analysis and for that I have to edit MS Access file in csv format to labelled format... ie. |Student, Name, Whatever | |12,XyZ,PPP | ------to--------- 1.Student 2.Name...
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 859
Amortization Table
Can someone please help me with this program. These are my instructions that were given to me... When I finish the inputs and it comes back with the numbers the payment amount is wrong <div...
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 854
Direct X 9 program not compiling?
<div class="codeblock"> C++ Syntax (Toggle Plain Text (http://domainnameforum.org/#))
<div id="code1379357918_1"><ol><li class="li1"><div class="de1">
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 757
Direct X 10 Linker error LNK4075?
<div class="codeblock"> C++ Syntax (Toggle Plain Text (http://domainnameforum.org/#))
<div id="code318056063_1"><ol><li class="li1"><div class="de1">
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 809
Question about 'this' and static members
Hi, I just started learning more about class/objects. What is the purpose of using 'this' pointers and static members? How exactly do you use them? These are some small examples: <div...
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 807
Can't make multiple different choices.
Not sure what the exact title should be. But at a point in my text game. I want to have multiple selections. But whenever I put the code (shown below), compile the program, and run it I get this. It...
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 867
case manipulator problem
I am struggling with this assignment to long i need someone to tell me what am i doing wrong Write a program with three functions: upper, lower, and reverse. The upper function should accept a...
|
Forum: C++
03-26-2011, 08:50 PM
|
Replies: 0
Views: 842
C++ pointer and memory adresses
1. Are memory adresses a certain size? I've seen some that have 6 characters after the 0x and some that have 8 after the 0x 2. A pointer like this: int *pointern does what exactly? Selects a...
|