49,762 Topics

Member Avatar for
Member Avatar for DeanoJ

I need a firm answer on what OS, Linux, Unix, ect.. and software development code which will actually work in 64bit, mainly using the unlimited addressing capabilities. Now there are a LOT of claims out there and I've tried a few languages, although higher level, but ultimately run shot. My …

Member Avatar for Hiroshe
0
128
Member Avatar for lancevo3

Been working with operator overloading for the first time and am running into quite the standstill with this one. I finally got rid of the code I had written and decided to start from scratch. If anyone has any advice on how to code this for me it be a …

Member Avatar for lancevo3
0
149
Member Avatar for abby2589

can i ask for a help? can you give me an idea to improve our program? another feature? our program is about computing a telephone bill.. -thanks!-

Member Avatar for Lerner
0
102
Member Avatar for AngelG

hello, i am trying to create a simple C++ application, (not a DOS application), i would like to to know .. how could i output inputs field and then process what the user typed on that field? -Angel G

Member Avatar for AngelG
0
78
Member Avatar for urbancalli

our project is to make a lexical analyzer. I am using DevCpp and it is in C. I barely know the idea of the analyzer. Can someone please ive me a clue on where to start in this project. I think if I will know where to start, I can …

Member Avatar for siddhant3s
0
182
Member Avatar for walter clark

Why can't I declare this near the top of the Form1.h file... int trackArray[4][999]; It strikes error C4368; something about mixed type. What is mixed about the types? Walt

Member Avatar for Ancient Dragon
0
128
Member Avatar for atch

Hi, I'm quite new to C++ and I'm trying to write a function which would change uppercase letter in char[] to lowercase. Inside this function everything is fine but when I leave it, contents of char[] is not changed. Any ideas why? Also when I try to delete local pointers …

Member Avatar for atch
0
128
Member Avatar for shealy

I have 2 binaries - a java binary that requests a microsoft word doc from a c++ binary. The C++ binary opens the word doc in binary mode, reads x no of chars and returns chars to java binary. Java binary eventually receives all data and writes data using filestream …

Member Avatar for Krushnat
0
545
Member Avatar for dumrat

Hi, I am so frustrated by this error and I don't know how to solve it. Hope someone helps! I have a dynamic lib (Call it D) which is loaded at runtime with the dlopen() function inside a static lib (Call it S). There is a header file that contains …

Member Avatar for tux4life
0
114
Member Avatar for super.mina

I am learning Object oriented programming using C++ , i wonder if there is any site or book that have open source programs to teach OOP in C++ ....... I want to learn how to use OOP in programming how to implement it ..... If any one can help i …

Member Avatar for jencas
0
85
Member Avatar for thr

Hello please help me I want to declare object of base class above function main or global variable( object) and use this object in derived class like this: class X { ... } class y : public X { void func(); } void y::func() { a[1][0] = &c; //compiler error: …

Member Avatar for csurfer
0
235
Member Avatar for vickdini

Hi! I'm trying to search a binary file for some hex values and then replace them, using C++ CLR. Reading and writing the file works, but I just haven't found a way to search and replace successfully. Here is the relevant code I've created: [CODE] array<Byte>^ fileContents = File::ReadAllBytes(item); textBox2->Text …

Member Avatar for Ancient Dragon
0
828
Member Avatar for OwenRoberts

Hello DaniWeb! My first post to you. I have a question about an undefined reference error I am getting. Currently I am studying from Dietel and Dietel C++ How to Program 4th ed, and on page 421 of chapter 6 I am working on the program they have in the …

Member Avatar for jesseb07
0
385
Member Avatar for apease11

This belongs in both C and C++ forums, but it's more of C++ (I think) so I'll keep it in here for now. I'm working on a C++ program to extract files that I am constantly compressing and testing (releasing software for beta testers to take a look at). I …

Member Avatar for apease11
0
169
Member Avatar for nanchuangyeyu

Hi, My coding objective is quite simple: design a function to write the data in a matrix into files. And here is my code: [CODE] #include <iostream> #include <fstream> #include <string> using namespace std; int matwrite(float* mp,int row_sz,int col_sz,string mat_file); int main() { // create a simple binary file first …

Member Avatar for Ancient Dragon
0
187
Member Avatar for AirGear

can we compile b.cpp by running a.cpp? i have koolplot project to draw plot. this plot should appear in the middle of the program, and if the plot is closed, the whole program terminates immadiately. To avoid that, i tried to make 2 cpp files. One for the main, and …

Member Avatar for AirGear
0
419
Member Avatar for C++ Obliviator

Hi! I'm working on a project and need a way to add a newline to the input stream, by code and not by user's help. The user should not need to do anything, I need a simple line of code that places a newline in the input stream, but I …

Member Avatar for C++ Obliviator
0
137
Member Avatar for funjoke88

1. Write an iterative and a recursive version of the Fibonacci series algorithm. You need to ensure the correctness of the both algorithms. Both algorithms should produce similar output if given a similar input. a. Measure the performance of the two algorithms by measuring the time for both algorithms to …

Member Avatar for NathanOliver
0
468
Member Avatar for NimaJ

I am a newbie to this forum, and this is actually my first post. I am looking for a way to get the object of the currently running thread in boost. To make this short, consider a case in which one wants to implement a semaphor or a condition variable. …

Member Avatar for NimaJ
0
132
Member Avatar for heroic

Hello, i am trying to create gmail like alerts in visual c++ which will show information fetched from a php file on the internet, and will be able to send the current;y playing song to the php script... any help is really welcome!

Member Avatar for heroic
0
103
Member Avatar for Pauliuw

Hello, i where making a game, and i needed a vector that holds class objects, i do the thing (below), and i thing i did it right, but it seems not and i dont know whats wrong :( [code]#include <iostream> #include <vector> #include <string> using namespace std; class Races { …

Member Avatar for Pauliuw
0
4K
Member Avatar for nirav99

I made a program... now i have to put one validation. "while program is executed, if i press "Esc" button (hardly situated in top-left corner) i will be out of my program, means its exicutation directly takes end." i tried by taking its ASCII value but i requires also ENTER …

Member Avatar for tux4life
0
155
Member Avatar for Ragoune

Hi, To get straight to the point: I'm new at C++. I have quite some programming experience, mainly in GML [Game Maker Language], PHP and Visual Basic. I use GML frequently, almost everyday. But it's problem is, it does not have a lot of functions. But you can use a …

Member Avatar for Ragoune
3
190
Member Avatar for TrintiyNoe

Is there a way to use one type of iterator for another? like vector<int> iterator to vector<string> iterator,also any way iterator can be used like a interger?? coz i wanna do some mathematical manipulations on an iterator.coz i cant,i use a variable [CODE] int i;int ss=string.size() for(int i=0;i<ss;++i)[/CODE] but i …

Member Avatar for praveenraj1987
0
72
Member Avatar for DNDSH

Really i need help to complete my program but i don't know how to fix the errors .. the program is about 2 Dimensional Arrays matrix operations i wrote the whole program but there is some mistakes plz i need help to finish it im too confused !! [ICODE] #include …

Member Avatar for Salem
0
129
Member Avatar for sfgal

As you can tell....I am a beginner.... Please help me get past this problem. I am not sure how to compare strings for equal signs. I am at a brick wall. I have some unsorted albums with the name of the album, release date, CD Number and unsorted songs. I …

Member Avatar for Ancient Dragon
0
89
Member Avatar for mediachicken

Is there a way to get all the arguments and put them in one string? I'm very new to C++, so I need all the help I can get. Here's what I have here: [CODE]#include <iostream> using namespace std; int main(int argc, char* argv[]) { cout << "argc = " …

Member Avatar for Ancient Dragon
0
116
Member Avatar for doublebond

Hi all, I have a problem with my code. Please help me. I am trying to create multiple files based on the input file and read its respective data only. Thread_id: 1 Data_block_size: 64 Request_commmand_type: ReadReq Packet_block_Address: 8184256 PC_value: 4831838656 Tick_of_the_data: 14000 Packet_transfers_through_Bus_name: system.toL2Bus Is_Instruction: 0 Is_Data: 0 Data_Read: 0 …

Member Avatar for Ancient Dragon
0
487
Member Avatar for NathanOliver

Hi all. i am writing a simple log in program and i would like to have a class for users that stores the user name and the password as strings. after i have a user created i would like to output the class with the ios::binary flag set and store …

Member Avatar for NathanOliver
0
385
Member Avatar for Embroidery

Can someone help me to solve out the array problem. i have problem in array and loops .can some one suggest me any good site for c tutorial..

Member Avatar for AirGear
-1
89

The End.