Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~6K People Reached
Favorite Forums

10 Posted Topics

Member Avatar for Danny1994

Which edition of visual studio 2008 do you have? I think one of them includes a program called ".NET Obfuscator" or something like that. EDIT: It's called Dotfuscator. "Dotfuscator Community Edition does only very limited obfuscation and is included in Microsoft's Visual Studio.[3] By registering for free, users can have …

Member Avatar for andyman2
0
153
Member Avatar for Doughnuts

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. [CODE]#include <iostream> #include <cstdlib> #include <cstring> #include <limits> using namespace std; typedef char* charPtr; typedef charPtr* strPtr; strPtr delEntry(strPtr a, int &size, …

Member Avatar for Ancient Dragon
0
177
Member Avatar for Doughnuts

I am trying to add two numerical char arrays such as: [CODE]"124" and "589"[/CODE] I wrote functions to reverse the string and add the strings, and it works for strings like "123" and "456", but when the last digits are greater than 10, I don't know how to carry it, …

Member Avatar for Doughnuts
0
364
Member Avatar for mymyzzz
Re: SORT

You should never do input/output in a function, unless it is an input/output function. Otherwise, your sort function is fine. Here is my sort function: [CODE]void Sort(int Array[], int NumUsed) { int temp, i, j; for (i = 0; i < NumUsed - 1; i++) { int Smallest = i; …

Member Avatar for Nick Evan
0
113
Member Avatar for Doughnuts

Hi everybody, I have a problem with output files. I have installed Code::Blocks and MinGW, replacing my old Borland compiler. I am trying to make a program that uses arrays and files: [CODE]#include <iostream> #include <fstream.h> #include <conio.h> #include <string> #include <stdlib.h> #include <cassert> using namespace std; void Save(ofstream& f, …

Member Avatar for bamcclur
1
119
Member Avatar for Doughnuts

Hello, I am trying to get the coordinates of the cursor when the user left clicks the mouse. I read that you can use this: [CODE]if (WM_LBUTTONDOWN) { int x = LOWORD( LPARAM ); int y = HIWORD( LPARAM ); }[/CODE] However, when i compile, it gives me this error: …

Member Avatar for Intrade
0
4K
Member Avatar for jonathanYoung
Member Avatar for Doughnuts

Hi, I am trying to use strings, and even a simple program like this doesn't work. [CODE]#include <iostream> #include <string> int main() { string Hello; Hello = "Hello world!"; cout << Hello; cin.get(); }[/CODE] I am using Borland C++ 5.0, and it gives me this error. "String does not name …

Member Avatar for Doughnuts
0
136
Member Avatar for Doughnuts

Hello all, I am working on an assignment and came across a problem. The assignment is to take a file with integers and calculate the average. Here is my code: [CODE]#include <iostream> #include <fstream> #include <stdlib> #include <conio.h> double calculateAverage(double Number, double Sum); void trimSpaces(char Filename[]); int main() { ifstream …

Member Avatar for Doughnuts
0
127
Member Avatar for Doughnuts

Hello, I am a newbie a C++. I was doing a program where you calculate prime numbers, and it prints prime and non-prime numbers. Here is my code, [CODE]#include <iostream> #include <conio.h> using namespace std; main() { int n = 1; int i = 2; bool IsPrime; int Max; int …

Member Avatar for Doughnuts
0
299

The End.