49,761 Topics

Member Avatar for
Member Avatar for Ancient Dragon

I'm trying to set up NetBeans IDE on my Vista Home, and have a choice between those two compilers. Which one would you choose? I also want to have Code::Blocks.

Member Avatar for marantis
0
207
Member Avatar for ziggystarman

RE: Using C++ MD5 hash for software verification & licence files Hi The last few days I've been searching the net for ideas about building in some sort of software protection/security schema within a development for educational but perhaps more importantly to understand good & bad security coding/practises do's & …

Member Avatar for ziggystarman
0
303
Member Avatar for SoftwareAbuser

Hello,i m trying to make a program that uses 2 .dat files for student managment..here's my code and the problem main: [code=c] #include <stdlib.h> #include <stdio.h> #include "tei.h" /*orismos domwn*/ struct address{ char odos[16]; int noumero; }; struct foititis{ char am[7]; char onoma[11]; char epitheto[16]; struct address dieuthinsi; float mo; …

Member Avatar for thelamb
0
3K
Member Avatar for mrectek

HI all, Im trying to create a simple MP3 player. I hope that by amalgamating a series of strings, example 1, that they can collectively contain the full play and filename/path instruction instead of the self-contained method in example 2. When I try to compile the solution in example 1 …

Member Avatar for mrectek
0
753
Member Avatar for reemhatim

I'm doing a second year student in computer and information sciences and it is the first time for me to do a project so I need help . My problem is how to enter a branch information and update the branch information,update holder information .Ijust need a hint to start. …

Member Avatar for reemhatim
0
199
Member Avatar for electrox73

Ok, I have no idea how to make this becuase I need to be able to update the Name & Password database for the Web or somewhere else. Regards

Member Avatar for jackmaverick1
0
2K
Member Avatar for arpiar

Hy everyone ...i need some guidance to make a program.I need to implement NSGA2 algorithm for vector optimization.The optimization function must be selected through a list.And i need to display de Pareto front.

-2
47
Member Avatar for AmerJamil

can any one please tell me am i done my question right? my question is to store store 1035 to 1265 random in a character array and display the array. and im not sure whats this srand is doing? [code] #include<iostream> #include<stdlib> #include<conio.h> int main(){ srand(1035); char b[30]; for(int i=0;i<30;i++) …

Member Avatar for Ancient Dragon
0
178
Member Avatar for deanus

Hi, I've recently downloaded MSVC++ 10.0 Express from the Microsoft website, and I can't seem to find a new project template for 'setup and deployment'. Can I download it individually from somewhere? Thanks, Dean

Member Avatar for Ancient Dragon
0
94
Member Avatar for AmerJamil

i have two questions 1st is can any one please tell me what is the role of setprecision in C++, why it is used? 2nd is : this statement [code]totalS+=sales[i][j];[/code] is equivalent to what, i.e what is the role of this += thanks alot

Member Avatar for frogboy77
0
144
Member Avatar for dip7

Hi, I have come up with the source code to read files. However, this is source code reads the file 1024 bytes at a time. I would like to modify the code to read it byte by byte. This code wants to determine if 001 bytes ( oo oo o1 …

Member Avatar for Ancient Dragon
0
3K
Member Avatar for petmol

Hi friends, I have an assignment to put three little programs into one, making each one a function of the main program, which is a kind of menu. The three work perfectly as separate entities, but when I put them together, the thing won't compile. Can anyone tell me what's …

Member Avatar for pranaymahajan
0
139
Member Avatar for stevanity

I want to solve this problem. [QUOTE]There are 52735727364727372 students and 2889221271829121 teachers in a school . On children's day each teacher brings x toffees with him/her . All the toffees are collected and distributed equally to all the students . At the end it was found that there was …

Member Avatar for stevanity
0
124
Member Avatar for BDev338

Hi developers! This is part of a bigger application written entirely in C++. This is my first time developing an application of this size in C++, and also my first time using the Win32 APIs implementation of threading. So of course I was MEANT to run into errors :). This …

Member Avatar for Ancient Dragon
0
296
Member Avatar for ethanbuckley

Heya peeps, im back with my code of hell. I would like to know if anyone knows the code to create a shuffle button by using the play button and a listview control. My listview has tickboxes, so i imagine it would involve ticking them all and playing them randomly?

Member Avatar for MosaicFuneral
0
133
Member Avatar for alonewolf23

[CODE]#include <cstdio> #include <cstdlib> #include <iostream> using namespace std; digits() { If(num==1) cout<< "one"; } int main(int nNumberofArgs, char* pszArgs[]) { int num; cout << "Enter a number 1 to 9:"; cin >> num; digits(); system("pause"); return 0; } [/CODE] I just want to make a simple function that when …

Member Avatar for jonsca
0
837
Member Avatar for iamuser_2007

[CODE]// Cubic conversion of Borwein's Algorithm // Each iteration converges // cubically against 1/pi; // that is, each iteration // approximately triples the // number of correct digits. // Program written by ROBO_HEN5000 // Algorithm complements of Wikipedia. #include <iostream> #include <cmath> using namespace std; int main() { float a; …

Member Avatar for Sokanas
-3
139
Member Avatar for stevanity

Guyz, im trying to figure out how to find solutions to there two problems 1. Consider a field which is square in shape and 100*100 units in area . I am standing at the North-West corner of the field . From any place I am allowed to take one of …

Member Avatar for mrnutty
0
97
Member Avatar for MasterGberry

Getting two link errors with my code provided below They are being generated by lines 38-46 I believe. I can't seem to find an issue... 1>AoE2Wide.obj : error LNK2020: unresolved token (0A000340) "public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > AoE2Wide::Program::_gameDirectory" (?_gameDirectory@Program@AoE2Wide@@2V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@A) 1>AoE2Wide.obj : error LNK2001: unresolved external symbol "public: static …

Member Avatar for MasterGberry
0
179
Member Avatar for globberbob

I have been looking around a while, trying to figure out at the very least, how to take a string like "25 from a car accident" and have 25 as a useable integer and "from a car accident" as a useable string. what i'm trying to accomplish is doing this …

Member Avatar for globberbob
0
115
Member Avatar for TJW

Hello: (I am using Borland C++ Builder 6 Professional) Before you jump all over me I've already read the post Returing Arrays C/C++ and completely understand. For some reason I am still having difficulty implementing in my project. Very brief Project Explanation: I am collecting data from a laser sensor …

Member Avatar for espar
0
382
Member Avatar for ricky_125

Hello, Any ideas why this is giving a segmentation fault?: #include <iostream> #include <new> using namespace std; struct List { int A; int B; List *next; }; int main(void) { int llength; llength=1111111111; List *L; L= new List[llength]; L[37370197].B=-37370197; delete [] L; return 0; } Cheers

Member Avatar for ricky_125
0
132
Member Avatar for MasterGberry

Okay, so I finished the first of a few files on the converting, and I am getting some errors, and yes I have googled them and tried to fix to no avail, I am a noob on programming and am being told to work on a high level project, which …

Member Avatar for MasterGberry
0
874
Member Avatar for SpecialForce

I have the following code witch I have modified with help from Ancient Dragon: [CODE]#pragma warning(disable: 4786) #include <io.h> #include <string> #include <vector> #include <list> #include <iostream> using namespace std; // structure to hold a directory and all its filenames. struct FILELIST { string path; vector<string> theList; }; void TransverseDirectory(string …

0
68
Member Avatar for SpecialForce

Hello, I have the following code: [CODE]#pragma warning(disable: 4786) #include <io.h> #include <string> #include <vector> #include <list> #include <iostream> using namespace std; // structure to hold a directory and all its filenames. struct FILELIST { string path; vector<string> theList; }; void TransverseDirectory(string path, list<FILELIST>& theList) { struct _finddatai64_t data; string …

Member Avatar for SpecialForce
0
194
Member Avatar for BigDeveloper

Hello, I want to write a function which takes two linked list and check smaller The function CheckSmaller should return 1 if num1 points to a linked list which represents a smaller number than the number pointed to by num2 linked list. Otherwise, it returns -1. If both linked list …

Member Avatar for BigDeveloper
0
145
Member Avatar for mbhaluni2

I want to create a program that create a file and encrypt it and when the user click the file it will open the program and ask user for password and if the password is correct it will decrypt the file but not save the decrypt file and read the …

Member Avatar for Ancient Dragon
0
114
Member Avatar for stereomatching

[code] std::copy (std::istream_iterator<string>(cin), // beginning of source std::istream_iterator<string>(), // end of source std::ostream_iterator<string>(cout,"\n")); // destination [/code] how could I quit from it? besides, if I want to copy partial data from std::ifstream what should I do with the copy algorithm? following code would copy all of the data into the …

0
60
Member Avatar for Dorson8009

Hello, this is a newbie question, sorry for that, I am trying to port some Java code to C++. In this code I have a hashmap connecting string values to float arrays of varying sizes. They are specified like this: [CODE=Java] HashMap <String, float[]> hm = new HashMap <String, float[]> …

Member Avatar for Dorson8009
0
166
Member Avatar for messengerman

i want to parse a file,my problem is in lines 2,3,4 of each person(every 4line make a person from my class person)numbers of my variables in lines 2,3,4 changed.i want to push_back each of variable in line 2 in a vector until it comes to "\n",i want to continue this …

Member Avatar for jonsca
0
276

The End.