49,761 Topics

Member Avatar for
Member Avatar for rennel

Hello everyone..I am planning to develop a payroll system in C++ using textfile as its database but i don't have any idea on how to begin it..Can any one help me with the codes please..How to view data into textfile, how to write data into textfile, how to save data …

Member Avatar for tkud
0
100
Member Avatar for namanithi

i am doing a POINT OF SALE i nvisual c++ for my basic diploma course. i need to do an IPO CHART for the report as well. I have done the report- see below- can anyone tell me if i am correct or have missed out on anything : IPO …

Member Avatar for mimke47
0
948
Member Avatar for zentropy

Does anybody know how to get data from the ethernet port? Is there a library for it? Basically there is going to be a microcontroller sending data over ethernet, and I want to get the data it sends and write it to a file Thanks

Member Avatar for Ketsuekiame
0
331
Member Avatar for gidireich

A very basic question: In the standard c++ structure, every .cpp file looks like this: MyClass::MyClass() ... MyClass::~MyClass() ... MyClass::function1(... MyClass::function2(... MyClass::function3(... It looks redundant to reiterate the "MyClass::" every time. I tried different ways to use namespaces for this, without success. It there any way to telll the compiler …

Member Avatar for Radical Edward
0
145
Member Avatar for kiwimoosical

Ok, so im having a little bit of trouble. Just lettin yall know, im 13 and just started trying to c++ a couple of days ago (3 days) so i think im coming along quite well! But i've tried writing this script and can't seem to do it :/ so …

Member Avatar for Ancient Dragon
0
224
Member Avatar for literal

1. What are the most recommended books on c++ algorithms? 2. Algorithms in C++ by Robert Sedgewick - any experiences? Thx

Member Avatar for literal
0
105
Member Avatar for lahiruchandima
Member Avatar for gidireich

Hi all, Here [url]http://www.blackwasp.co.uk/VSRenameIdentifiers.aspx[/url] I read about a possibility to change identifiers automatically and consistently in VS. In my VS2008, I don't see the "refactor" menu item in any of the mentioned menus. Any ideas for what could be wrong? Any other ideas, how can I rename a class automatically …

Member Avatar for gidireich
0
205
Member Avatar for daniel88

Hi guys, Well, it's World Cup time and it seems only fitting that I submit something related to that. I was intrigued by the whole "Group of Death" concept. Intuitively (for me), a group of death should be a very unlikely event - yet they are always found in the …

Member Avatar for daniel88
0
112
Member Avatar for timbomo

what is a way to get numbers in 2 diff columns one column is whole numbers and the other are numbers with decimal places [CODE]int price=' '; // i am attempting to grab a number that has a decimal but its not the correct way int itemnum=' '; // i …

Member Avatar for Fbody
0
1K
Member Avatar for adcodingmaster

I always come to dani web whenever i have some difficulties. Thanks to all of you. I have a question regarding DLL's. A DLL file is to be written or we just write a CPP file and the compiler generates a DLL for this CPP? Please answer Thanks in advance

Member Avatar for adcodingmaster
0
167
Member Avatar for memstick

I am working on a RedRat code project for my job these days. The RedRat is a device that can be used to control 16 IR outputs, and my plan is to use this for testing of STBs with my own program. +++++++++++++++++++++++++++ For those interested >> [url]http://www.redrat.co.uk/software/SDK/index.html[/url] +++++++++++++++++++++++++++ I've …

Member Avatar for memstick
0
113
Member Avatar for emperor43

I'm trying to connect to devices on a network through TCP , one is a wireless device with limited capabilities (a 802.11g transceiver with an incorporated SoC ) or the client and the other is a normal pc , the server . As the client is meant to be in …

Member Avatar for emperor43
0
174
Member Avatar for wade2462

I am coming from c++ and its nice STL. In C++ I could do this [CODE=C++] <include> string ... ... int nMyInt = 5; string sMyString; sMyString[5] = "b"; [/CODE] Ive tried this approach in c# but doing this way gives me this error [QUOTE]Property or indexer 'string.this[int]' cannot be …

Member Avatar for wade2462
0
121
Member Avatar for hellosy

i try create using win32 console application but it will come out with the stdaf.h header file i know to create a pure C i need to change the project to compile in C only and i did but the error stadaf.h keep popping out do anyone know how to …

Member Avatar for Ancient Dragon
0
36
Member Avatar for Dimitar

I have an input file which is a 4X4 matrix, and each item of the matrix is represented by 4 digits 0's and 1's. 1 is closed and 0 means open, the direction is NSEW ( first digit represents North and so on..). I'm trying to recursively find my way …

Member Avatar for zentropy
0
72
Member Avatar for LevyDee

error LNK2005: "public: __thiscall ClientList::ClientList(void)" (??0ClientList@@QAE@XZ) already defined in serverApp.obj in file: serverDlg.obj I get this error when i try to include my header I wrote. I looked this up on MSDN but don't get it. Its an MFC project if that helps. My clientlist header is just c++ not …

Member Avatar for LevyDee
0
65
Member Avatar for Ganty722

well... the predicament i am in here seems simple.. but i cant seem to get my head around it, and YES its for a school project, but its just a part i cant work out the thing is, i'm trying to read a line from a file and store it …

Member Avatar for daviddoria
0
85
Member Avatar for az7_neli

Hi, everyone! I have a new problem with my graduation work. :( My application must open database at runtime and modify data in this database. The database is random. For that reason I have no idea in which table will be inserted data or update or delete. The problem is …

Member Avatar for az7_neli
0
944
Member Avatar for greeran

hi i am having a problem integrating Lua into C++. I found a discussion about it here but it didn't help me. i have installed lua and i can see it in /usr/include and /usr/lib and /usr/bin i created the same code as the previous descussion [CODE] #include <lua.h> #include …

Member Avatar for StuXYZ
1
1K
Member Avatar for aianne

Hi!, I'm newbie here on daniweb.. and i dont know if i'm in a right place to post this problem. lol. *sorry for my english* anyway, will you please help me about Turbo C? My teacher gve us a sample problem and he starts it with this code : [code]#include<conio.h> …

Member Avatar for Adak
0
301
Member Avatar for u8sand

Hello, Recently I've been doing some Windows API programming and I came across a problem. I want to make a console program that accepts commands, when the command 'win' shows up it will create a window with some automated features. Lets say I had a command sendfile [file-path] [where]. I'd …

Member Avatar for nbaztec
0
183
Member Avatar for nschessnerd

I have an application that uses readprocessmemory to get information from another application. I think my application causes this other application to crash. Does anyone have any input on this? Why does it cause a crash and how can I change my application?? I cannot modify the other app thanks …

Member Avatar for nschessnerd
0
230
Member Avatar for sarah123

how can i write a program to calculate the median of matrix in file1 , and send the output to file2 .....???? can anyone help me please??! ======= sarah

Member Avatar for rahul8590
0
188
Member Avatar for fernandofranca

The code runs perfectly, but when I press any button, for continuing the system Pause, it gives the error: Run-Time Check Failure #2 - Stack around the variable 'arq_linha_part' was corrupted. [code=c] #include "stdafx.h" #include "Sistema.h" #include <fstream> #include <iostream> #include <string> #include <sstream> #include <cstdlib> #define ZB 100.0 #define …

Member Avatar for fernandofranca
0
922
Member Avatar for ronnieaka

okay so here's the little piece of code that would be useful in a sudoku program that i'm making... this function leftover is simply extracting the set minus of two arrays. i don't know if logic's been having any problem but i think its pretty simple clear. oh, and i'm …

Member Avatar for u8sand
0
210
Member Avatar for kiwihaha

i have problem only declaring struct variable. i declare a struct in struct.h file and i wan main.c and class.h also using the same variable. But the class.h file say the struct is undeclare.. example: struct.h [CODE]struct car{ int year;};[/CODE] main.c [CODE]#include <cstdlib> #include <iostream> #include "struct.h" #include "class.h" using …

Member Avatar for kiwihaha
0
1K
Member Avatar for dhruv_arora

It's my school project, I wrote this C++ program with file handling. I am getting these errors and I can't understand what's causing the errors, if anyone can rectify my program, that would be great. My program :- [CODE]#include<fstream.h> // for C++ and File-Handling functions #include<conio.h> // for getch() and …

Member Avatar for Ancient Dragon
0
340
Member Avatar for vsawant

i have just started learning c++ i just want a program to print ood & even from 1-100 please help me

Member Avatar for ZootAllures
-1
151
Member Avatar for web3

The End.