49,761 Topics

Member Avatar for
Member Avatar for katwalatapan

Hello everyone, I have installed Dev-C++ IDE on my system to run POSIX threads application. The program has compiled correctly. When I try to run the application, I am encountered with the following error Unable to locate component This application has failed to start because pthreadGC2.dll was not found. Re-installing …

Member Avatar for ajay.krish123
0
252
Member Avatar for jimmy_moh

Hi ALL am completely new to this enviorment , am not sure it is the right section to post my query.. 1 : i have one exe "sample.exe" in my PC 2: i signed this file using the tool "signcode.exe" 3: after that if we right click on "sample.exe" and …

0
42
Member Avatar for NinjaLink

Hello, I need help printing my results to an output file with the program that I have below. I am getting an error "too few arguements to function". It has been a couple of years since I did C++ using .txt, so any help is appreciated. Thank you. [B]Goals:[/B] - …

Member Avatar for NinjaLink
0
272
Member Avatar for Alexia Noir

hi there. say i have a text file. in this text file is all the information i need for my output. the problem is, probably because i'm still very new at this, i don't know how to read this particular text file and output it onto the screen. suppose i …

Member Avatar for Alexia Noir
0
136
Member Avatar for smco9

How do I sort an array of struct? For example: struct data { string city; string state; int zip; }; data listing[];

Member Avatar for VernonDozier
0
95
Member Avatar for robgeek

I am trying to write a program in which a big text file is read and then user searches for a word and replaces it with another word. To implement this I was thinking to store the file read into an array since that would the easiest way to implement …

Member Avatar for VernonDozier
0
165
Member Avatar for smco9

I'm getting conversion errors 2446 and 2040 on the red line. Can anyone help me figure out what i've done. I'm new to C++ but I'm expereinced in C# so I do have some foundation. Any help is greatly appreciated! [CODE] string GetString(ifstream & fn, string & s, int length) …

Member Avatar for Ancient Dragon
0
222
Member Avatar for atch

Looking through boost random library I've come across literal something like 331u. Does anyone can explain to me what this u is about? [code=c++] void seed(uint32_t value = 331u); [/code] Thank you

Member Avatar for Dave Sinkula
0
155
Member Avatar for Bladtman242

Hi, this code is merely for testing a coulpe of functions for use in a bigger program, therefore this code alone may seam silly, but there is a point to it:) When i run this and press "1" the program just terminates, pressing "2" or "whatever here" works fine however? …

Member Avatar for Bladtman242
0
528
Member Avatar for Covinus

whats the reason behind using int main over void main? in most books ive read they often discourage the use of void main. but offer little info about it

Member Avatar for Tom Gunn
1
1K
Member Avatar for low1988

I have little knowledge about this algorithm method .I try to coding the part of the InsertAfter() method to insert the data after a specific location.It seems not working . [CODE] #include <iostream> #include <string> #include <conio.h> using namespace std; class Node { public: double data; // data Node* next; …

Member Avatar for Tom Gunn
0
107
Member Avatar for saxasm

Is there any reasonably simple code that will do the same thing as the Beep function but for ubuntu? I'd very much like being able to save the music to disk too, but that's not necessary.

0
44
Member Avatar for GooeyG

The assignment is to design a program that determines the gross pay for each employee. Everything seems to work, but when you input more than 40 hours, it doesn't calculate overtime. Another thing is that, i can't get a message to pop up when someone input an invalid input. I …

Member Avatar for DdoubleD
0
167
Member Avatar for teofil20

Could someone please tell me a way of uplading and downloading text files without the use of the .net framework and is simple to use. Thanks

Member Avatar for William Hemsworth
0
105
Member Avatar for arbrophy

<< split from [url]http://www.daniweb.com/forums/post865360.html#post865360[/url] >> I'm using Visual Studio 2008 and I don't see the 'Advanced' option in the properties menu. Is it hidden somewhere else?

Member Avatar for arbrophy
0
121
Member Avatar for jp071

Hello, I want to capture data from serial port. The COM1 port connected with a device and we have software for the device that is need for generating data. The software opens the port, then connects with the device and writes something for generating data. i just want to capture …

Member Avatar for kvprajapati
0
93
Member Avatar for W0T4N

Hi, I have problem with tray icon, when my processor is 100 % working, sys tray icon loading fails. I do not know how to fix this. I made easy testing program for that, i have thread with critical priority and it make processor 100 % working. During that sys …

Member Avatar for W0T4N
0
188
Member Avatar for atch

Hi, I tried to be clever and wrote template (body below), and something is not working as I would like it to. I have to explicitly cast template parameter on desired type instead of function recognize type (by id() method provided in class object); I don't understand why is it. …

0
43
Member Avatar for jim148

Hi you guys, just want how do you convert a number to word in c++ if it is in the thousands?:?:

Member Avatar for jim148
0
133
Member Avatar for BlackPhoenix

Hello everyone, I have been studying SDL for some time now, and would like to exercise my brain a bit. I think this particular challenge would be lots of fun, and I'd love to show off whatever I achieve when finished. [B]Basic 2D maps[/B] Creating a basic 2D map (for …

0
81
Member Avatar for lancevo3

I am writing a iterator class which I am having no problem with yet my problem I am having now is I need to declare some methods as Iterator in my List class and I am getting errors from that. [code=cplusplus] template <class T> class List { friend std::ostream& operator<< …

Member Avatar for mrnutty
0
104
Member Avatar for Edward_Nelson

I am trying to self learn C++, and I bought a tutorial book. Right now, I am on a section about recursives. I got the first example, one to output the Fibonacci sequence, but I am stumped on the second one. The exercises do not come with answers, and that …

Member Avatar for VernonDozier
0
102
Member Avatar for yonghc

The program was successfully compiled using Borland 5.02. The program controls the input type by user using ASCII codes. The input mode is similar to QuickBasic's INKEY. The program is working and tested okay. Much effort had been put in, but the problem is that the subroutines for handling string …

Member Avatar for Frederick2
0
593
Member Avatar for AssaultM16

Hi!. I am having some problems with functions scopes again. I need to use one array initialized in one function, in a different function. I have searched on how to pass the array by reference or value ( and I truly don't know if that's what I need) but I …

Member Avatar for AssaultM16
0
102
Member Avatar for NirmalPatel

cAN ANYONE PLEASE TELL ME HOW TO GET TEXTBOX VALUE OF EXTERNAL APP WITH VISUAL C++ E.G. HOW TO GET EDIT2 CONTROL VALUE OF PEID LIKE UNIEXTRACT AND USSF DOES? I COULDN'T FIND ANYONE ASKING THIS QUESTION IN THIS FORUM. THANX FOR EVERY HELP!

Member Avatar for NirmalPatel
0
67
Member Avatar for lotrsimp12345

show_int_vector method RETURNS MEMORY LOCATION FOR EVERTHING EXCEPT FOR LAST VALUE. main [code] #include "my_int_vector.h" #include <iostream> using namespace std; int main() { my_int_vector b(0); b.push_back(10); //b.show_int_vector(b); b.push_back(122); b.show_int_vector(b); //b.push_back(20000); return 0; } [/code] Interface [code] class my_int_vector { public: //constructor to create an array my_int_vector(int intial); //prints out the …

Member Avatar for lotrsimp12345
0
118
Member Avatar for 42Wired

I am trying to write an API (called logEvent) for an outdated os-level logging function. I would like to call it in the following manner. [CODE=cpp]logEvent << "string"; // or logEvent << "string" << 123 << 0.456 << ... ;[/CODE] I'm trying to accomplish this by overloading the stream operator, …

Member Avatar for 42Wired
0
129
Member Avatar for breezed

Hello everyone, my name is Vincent, and I am hoping to get help with this subject. -- Visual C++ 2008 Express -- Alright, basically I have a droplist combobox with 8 lines 1 2 3 4 5 6 7 8 that a user can select. I want to have it …

Member Avatar for breezed
0
83
Member Avatar for kaizen_duck

Produce a complete C++ game that resembles the “Hang Man Game”, where the player is required to guess a given number/character/word. The player will be given a limited number of guesses. Each time the wrong answer is given, display an appropriate figure that changes accordingly. You may refer to the …

Member Avatar for kaizen_duck
0
220
Member Avatar for Peter_APIIT

Hello to all, i encounter an error like Error 1 fatal error LNK1107: invalid or corrupt file: cannot read at 0x2C8 C:\Program Files\OpenCV\bin\highgui110.dll Additional Include Directories C:\Program Files\OpenCV\cxcore\include C:\Program Files\OpenCV\otherlibs\highgui C:\Program Files\OpenCV\cv\include Additional Library Directories C:\Program Files\OpenCV\otherlibs C:\Program Files\OpenCV\lib C:\Program Files\OpenCV\bin Additional Dependencies cv.lib highgui.lib cxcore.lib highgui110.dll Error Message is …

Member Avatar for Salem
-1
355

The End.