49,761 Topics

Member Avatar for
Member Avatar for rajesh37_p

Hello Fnd I want to be Know How to Interact Ms-Access Using c/c++ Pls kindly send ur Answer To my email <email snipped>

Member Avatar for Ancient Dragon
0
33
Member Avatar for pogosecure

when handling huge volume of data in TXT file, it is very complicate to truncate the unwanted ascii character. If there any function in C++ or C to resolve the problem. Kindly help me to resolve the problem.

Member Avatar for Ancient Dragon
0
29
Member Avatar for amt_muk

Hi, Suppose I have a char*, which holds a string value. Now I want to print the address of that char*, not the string value. Pls help me in this problem. Amit

Member Avatar for amt_muk
0
6K
Member Avatar for AutoC

Hi, Here's my situation.I'm reading a file that consists of characters including white space.Once I read them I'm counting the occurrences of each character.This means I need to count occurrences of white space as well.If I use ifstream I skip the white spaces and I dunno the filesize so I …

Member Avatar for Ancient Dragon
0
92
Member Avatar for Ninabox

Hi everybody :) here is my problem: I have a Linux cluster I have to run tests on it by using scheduler PBS and I have installed the MPI libraries. What I have done so far is writing down with the help of vi editor a simple C programs using …

Member Avatar for Ninabox
0
115
Member Avatar for amt_muk

Hello friends, Is there any problem with "Zero-Length-String" in C/C++. Pls mention if there is any type of problem in standard string library-functions like strcpy, strcat, memcpy, etc. Thanx, Amit

Member Avatar for Ancient Dragon
0
115
Member Avatar for asifjavaid

Hi all :) , I am working on video plug-in in C++.NET. I have a video file. Its size is not fixed. It can be in MBs or GBs. I have calculated sample size and sample count of video file and now I want to prepend (insert in the beginning …

Member Avatar for Ancient Dragon
0
111
Member Avatar for DegreasedMonkey

Hi all - hope someone can help me with this because I've been trawling the web looking for an answer to no avail :-( I'm trying to compile a big project (300+ files) and I seem to have no syntax errors in the code, but I get the following when …

Member Avatar for dougy83
0
104
Member Avatar for woody292

Hello all. I am working on a programming 2 lab and am unsure how to code the input and output for this assignment. Here is what the lab sheet says: "Your program will be expected to read input from the first file specified on the command line and to write …

Member Avatar for VernonDozier
0
378
Member Avatar for monkey_king

Hi, I'm doing a low-mem implementation of a matrix, than can contain values from 0-4, this is fine for my program. I input 4 values (each 2bit) into 1 char(8bit). I'm using bitpatterns and shifting to extract values. But this is of cause hidden from the user. I've done everything …

Member Avatar for ArkM
0
222
Member Avatar for phillipeharris

I am overloadin the = Operator so I can assign an Obj to another Obj. he Errors are: Error 1 error C2556: 'void BSTree::operator =(const BSTree &)' : overloaded function differs only by return type from 'BSTree &BSTree::operator =(const BSTree &)' c:\users\phil\desktop\c++\cs230\lab5\lab5\lab5\bstree.cpp 157 Error 2 error C2040: 'BSTree::operator =' : …

Member Avatar for Ancient Dragon
0
165
Member Avatar for RayvenHawk

i have an assignment I've completed except for copying a queue into another queue. According to the book the code for copying is almost the same for a stack, but when I tell my program that copy = original, it's blank. Here is the code I have so far. BTW …

Member Avatar for dougy83
0
2K
Member Avatar for alanchan

Hi, I develop the VPN accelerater card by using the C++ program. According to the explain of MSND, The function of 'CryptDestroyKey' can destroy the public key hanle and free the memory at the same time. But I got the false result when I use the function. So I wanna …

Member Avatar for alanchan
0
70
Member Avatar for shamila08

Hello, dear all. i have another assignment such as follows: n = 1 print 1 n = 2 print 12 n = 3 print 123 n = 4 print 1234 1243 1423 how to create it by c++?

Member Avatar for raul15791
0
49
Member Avatar for nizbit

I need to design a function to find within a string a match to what is being searched and then replace that string with another. For example I need to search the string "baseball" with the string "base" and replace it with "basket". The code I have so far does …

Member Avatar for nizbit
0
148
Member Avatar for inkcoder

This doesn't work: [ICODE] if (m == 1,2,3) { cout<< "Sorry you cannot go any farther north.\n"; }[/ICODE] How can I make this work? Ink

Member Avatar for inkcoder
0
104
Member Avatar for NinjaLink

Hello all, I am creating a program, and I am currently stuck. I need someone to guide me on track on what I am doing wrong. My main goal is to get the program to run. I can't even do that. My C++ code is provided below. Thanks for all …

Member Avatar for NinjaLink
0
271
Member Avatar for ingvarorn

I'm doing a assignment for a class at my school and have written this code that follows with little help from DaniWeb users but I have one final touch problem. The problem is that if I run my strcpy function it always fills out the pzsDestination array to fill out …

Member Avatar for ingvarorn
0
147
Member Avatar for efg

its supposed to search string a for string b and once string a matches the requirments it should be printed alongside string b. anyway it does that but the output isnt c c c c c c what it should be but it shows double that for whatever reasons: [code=cplusplus] …

Member Avatar for hiraksarkardg
0
422
Member Avatar for amrith92

This is my resource file for a program: [CODE=cplusplus] #include "resource.h" // IDR_MYMENU MENU BEGIN POPUP "&File" //<=error is here BEGIN MENUITEM "&Refresh", ID_PROG_REFRESH MENUITEM "E&xit", ID_FILE_EXIT END POPUP "&Edit" BEGIN MENUITEM "&Options", ID_PROG_OPTIONS END POPUP "&About" BEGIN MENUITEM "A&bout AC", ID_PROG_ABOUT END END [/CODE] I've Checked the above over …

Member Avatar for amrith92
0
113
Member Avatar for amrith92

Here's a funny program that simulates the matrix...waaay off topic... [CODE] #include <iostream> #include <ctime> using namespace std; const int NotUsed=system("color 02"); int main() { clock(); int n; double time; char matrixwords[]=" aijk FGHIJKlmnopqrs ABCDtuvELMNO PQRS bcde fghTUVWXYwxyzZ"; char matrix[]="01001100100101011110"; clock(); for(int o=1; o<=70; o++) { cout << "/"; } …

Member Avatar for amrith92
0
183
Member Avatar for Tecfan

I'm planning to connect a MIDI-keyboard(piano) to the external sound card (in the MIDI-port, duh), and program a program that will get the status from it. So my question is: How would I get the input signal from the keyboard(piano)? Which function/library would I use? (I only need ON/OFF signal, …

0
85
Member Avatar for ingvarorn

Hi again. I'm having two issues with this code, first of then strlen only counts the characters in the first word of the line I put into console. Then the second one is that the console takes the second word put into the console in to next "cin" and does …

Member Avatar for ingvarorn
0
131
Member Avatar for ingvarorn

Hi, I'm pretty new to C++ and basically pretty new to all programming at all, have done something in java in school but never been programming something else than some scripts in work until now. My problem now is when I try to compile this code I have here then …

Member Avatar for mustafaneguib
0
193
Member Avatar for dallas81

Hi all I am new to this forum and I am having problem using the sort algortihm. My code is suppose to allow the user to enter in fractions and then sort what is entered into the array. The fraction class is only contains the public field numerator and denominator. …

0
59
Member Avatar for bhoot_jb

i am currently learning VC++ with MFC. But i am quite confused now. My dilemma is whether to use structures (which i guess are used extensively at Win32 API level) or their equivalent MFC objects. let me elaborate it. For example i want an array of points to use it …

Member Avatar for bhoot_jb
0
160
Member Avatar for nizbit

I wrote a function that compares the characters of two strings recursively. If the characters of the strings are all equal the function returns 0. If the character from string1 is smaller ie-"a" to "l" it returns the negative difference of their ASCII vaules. If the character from string2 is …

Member Avatar for ArkM
0
129
Member Avatar for bhoot_jb

i am a beginner in MFC programming and using MS VC++ 6.0. I am trying to create my own window using AfxRegisterWndClass(). My code is as follows : [CODE]Frame::Frame() { LPCTSTR className; HBRUSH brush; brush = (HBRUSH) ::GetStockObject (BLACK_BRUSH); className = ::AfxRegisterWndClass (WS_OVERLAPPEDWINDOW, AfxGetApp()->LoadStandardCursor (IDC_CROSS), brush, AfxGetApp()->LoadStandardIcon (IDI_ERROR)); Create (className, …

Member Avatar for bhoot_jb
0
167
Member Avatar for Bigboy06

hi; i need to count d number of occurrences of all the chars in a file. i can't figure out how to count how many of each char there are. this wat i have up to now. i need the to print only the ASCII code from 0-127 [code=cplusplus] #include …

Member Avatar for ArkM
0
100
Member Avatar for thetpaing
Member Avatar for thetpaing
0
71

The End.