51,593 Topics
![]() | |
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 … | |
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] - … | |
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 … | |
How do I sort an array of struct? For example: struct data { string city; string state; int zip; }; data listing[]; | |
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 … | |
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) … | |
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 | |
Hello guys, I need help here. I´m new to C# and asp.net, i'm doing a program that shows a list box with the users in the DB. A user has a group or a schedule. What i want to do is, when the user selects a user i want to … | |
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? … | |
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 | |
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; … | |
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. | |
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 … | |
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 | |
<< 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? | |
| |
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 … | |
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 … | |
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. … | |
Hi you guys, just want how do you convert a number to word in c++ if it is in the thousands?:?: | |
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 … | |
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<< … | |
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 … | |
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 … | |
I am using Microsoft visual c# express 2008 ide. I want to cycle thru my open files - I know there are a couple ways to do this but I want to be able to click on the name of the open file on the tab that is above the … | |
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 … | |
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! | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
Please help to solve this problem.....i am using c++ programming language.... the output of the problem is.... [ATTACH]11520[/ATTACH] i only have this... help me plsss....... [ICODE]#include <iostream> using namespace std; int main() { int a, b, c, e, i, j, k, m; int z=1; int n=10; for (a = e … | |
Is there any way to go to a specific line of a text file and print it to screen? I used getline to do this, but what if i need to enter a number and the program will go to that line number and print it to the screen. is … | |
![]() | Hi, I have a question related to pointers to base and derived classes. I have the following base and derived class: [CODE] class A { protected: double a,x; public: void set_ax(); virtual void mult_ax(); }; class B:virtual public A { protected: double b; public: void set_b(); void mult_ax(); }; class … ![]() |
im curios since i just completed mine [URL="http://www.daniweb.com/forums/thread221217.html"]my first program (thread)[/URL] | |
Hi . How we can design graphical menus in c++ for a multimedia device ? Thanks ... | |
Hi all, I’m doing some automation for a nightly deployment of some software. My program should: Open a program Send shortcut key press to the program Push a button And close the program again. So far I can open the program, bring it to front, send shortcut keys, but I … | |
![]() | Hello, I have this problem with multidimensional array on Form. [QUOTE]I have multidimensional array (like 5x5 matrix), but I can't add buttons on the form, if I use Controls.Add it adds only one button, and if i use Controls.AddRange program gives me an error [/QUOTE] I want to make a … ![]() |
who knows how to create games of the general in c++? i really want to know how.. ^_^ SNIP if you know this.. i'l be waiting for your help | |
hi guys i am doing a project and i need so help plzzz [URL="http://s891.photobucket.com/albums/ac111/redblood_bucket/?action=view¤t=uu_000.png"]http://s891.photobucket.com/albums/ac111/redblood_bucket/?action=view¤t=uu_000.png[/URL] at this link u can find a pic this a small part of my project the problem is that i want everything that i type or want to display like welcome to the back blah blah … | |
Hi ... Is there a way to write a program in c++ that get a decimal number and convert it to its equivalent in hexadecimal without using arrays ? A bit guidance please .... Thanks ... | |
Dear experts, I am new to the subject of bitwise operator. I know some of the basics like the gates and how the gates function eg. and gate, or gate, exclusive nor gates. And also how to change decimal numbers to binary numbers. But I am not quite sure about … | |
How to retrieve Motherboard, Hard Disk serial numbers and other related information on Windows 64 bit OS? | |
[CODE]#include <iostream> #include <iomanip> #include <cctype> #include "account.h" #include "CharRange.h" using namespace std; void displayMenu(); void makeDeposit(Account &); void withdraw(Account&); int main() { Account savings; // account object to model a saving account CharRange input('A', 'G') char choice; cout << fixed << showpoint << setprecision (2); do { displayMenu(); choice … | |
Hi I am in desperate need of help, I need to manage an application dependency in Visual Studio. The application links to a DLL only on a specific version of windows, lets say Windows 7. and on other environments, the DLL should not be loaded. How will I be able … | |
I have class eventqueue_t which is derived from the abstract class event_storage_t. When I compile the code I get: make mpixlcxx -c -O3 brain.cpp mpixlcxx -c -O3 config.cpp mpixlcxx -c -O3 connection.cpp "eventqueue.h", line 17.29: 1540-0408 (S) The base class "event_storage_t" is declared but not defined. make: *** [connection.o] Error … | |
Hi, I'm new to the whole programming environment. I'm currently taking an object oriented programming class and am a bit lost on my first assignment. I know there is already thread for how to draw a diamond but it doesn't answer my question. I'm trying to draw a diamond with … | |
I have created a windows application using C#. the problem is fairly simple. I doono how to refer to the Application path in c#. In Vb we can use App.path to refer to the Application path My C# code for opening a report is as [code=c#] public partial class frmSpaBill … |
The End.