49,761 Topics

Member Avatar for
Member Avatar for Alibeg

I guess i'm missing something basic, but i'm new to C++ and do not know how do these streams behave. Can someone please explain why no text is printed to the screen in the following example: [code=C++] #include <iostream> using namespace std; int main (void) { char *ptr = NULL; …

Member Avatar for Alibeg
0
159
Member Avatar for suho

I want to create an mpeg video with [B]ffmpeg[/B] with my program that generates lots of 2D arrays, each of which represents an image. As ffmpeg only takes YUV images. Is it possible to draw a YUV image in c++ or should i generate a RGB image first and then …

0
58
Member Avatar for knish

Hi, how is it possible to make vertices in maya (3d s/w ) react to wind ( dynamic effects ). Brgds, kNish

Member Avatar for Rajesh R Subram
0
98
Member Avatar for t0wel

Hello DaniWeb members! I am using wininet for communicating with HTTP protocol.Everything goes right expect one thing: Cookies. Problem is that all cookies are not saved.Some of them are but no all.For example ASP.NET session id cookie doesnt get saved when i visit page with wininet but i need its …

0
34
Member Avatar for eptheta

can anyone here write me a program which takes data from my parallel port (at address 0x378) every 1 second and saves it to a .txt document somewhere on my computer. I wanted this in c++ or c or any other programming language that i can instantly use or compile. …

Member Avatar for Rajesh R Subram
-2
216
Member Avatar for vino chithra

how can we use very big numbers in a c++ coding ... eg a number which is some 40 digit long... i just found out tat there is some data type known as biginteger ... but its not working in turbo c even after installin reqiured files... can anyone help …

Member Avatar for Rajesh R Subram
0
86
Member Avatar for samsons17

hi... i want to ask about my receipt program again.. this time ,i really like to know the ways how to clear the informations after the user has entered those informations that are neede by the program.. For example,take a look at this sample output : -------------------------------------------------------------------------------------- CASH RECEIPT PROGRAM …

Member Avatar for DarkC0de
0
139
Member Avatar for muzamal

hi i am muzamal.i have a assignment question .somebody can help me. please send me code of this programme.i tried hard but not succeeded.please help me early.emergently send me please .because time is short for me . thanks[COLOR="Red"][/COLOR]

Member Avatar for Lerner
-1
99
Member Avatar for rsaska

Hello, I am using Visual Studio 2008 to program in C++. My program needs to read in a line, break it into two strings. It seems that the String Toolkit Library (StrTk) ([url]http://www.partow.net/programming/strtk/index.html[/url]) will enable this. However, I am unable to figure out how to physically add the library files …

Member Avatar for rsaska
0
163
Member Avatar for BobFX

I have a very basic problem, which answer is not covered in the 1200 pages of the C++ book I'm using to teach myself. Consider this simple code: [code]#include "stdafx.h" using namespace System; class EventListener { long mRef; public: EventListener() { mRef = 0; } }; int main(array<System::String ^> ^args) …

Member Avatar for BobFX
0
127
Member Avatar for pangdo

1. I have few data in "MyData.txt" : 9 7 4 4 6 5 9 1 3 4 7 6 5 4 1 4 8 6 4 8 5 I only can copy the data into the code like this : [CODE] #include <iostream> #include <fstream> using namespace std; int …

Member Avatar for jonsca
0
113
Member Avatar for gehring

Hi, I Have a CString (MFC) which contains the following three conditions separated as follows. Message=("Condition1|Condition2|Condition3") I am trying to extract the three conditions from the CString and use them to perform other operations. However I cant seem to find the right built-in function. Could someone please advise on what …

Member Avatar for MrSpigot
0
126
Member Avatar for Zay

hello; can U plz explain this Q for me, i do not know how to solve it ? Rational fractions are of the form a / b, where a and b are integers and b ≠ 0. In this assignment, by "fractions" we mean rational fractions. Suppose a / b …

Member Avatar for NicAx64
0
169
Member Avatar for alvinwong

Hi, I am using Dev-C++ 4.9.9.2 with g++ compiler. I recently made a DLL in c++ that shows a window using Windows API. I discovered that the text shown inside are large and bold, which aren't looking very good. I want to change this, so I used the following code …

Member Avatar for alvinwong
0
1K
Member Avatar for WhatTheDeuce

I'm trying to figure out how to use a bubble sort in a array of names. since the names are type string, I can't figure out how to alter the bubble sort to do this. all the examples I find online deal with numbers instead of strings. So how do …

Member Avatar for mrnutty
0
134
Member Avatar for restrictment

Hello, I need help with this problem I came across. What I have is this: [code] char answers[5][4] = {{'1','2','3','4'},{'10','0','3','0'},{'1','0','0','0'},{'1','2','3','4'},{'1','0','0','4'}}; [/code] However, this code does [B]not[/B] accept 2 digits..only one. This irks me, and I was wondering if there was a way to add 2 digits. [COLOR="Red"]Note: I am going …

Member Avatar for jonsca
0
112
Member Avatar for stockton

I need to produce a program that would process/read a magnetic stripe card within a windows kiosk environment and would prefer doing this in C or C++. Could someone suggest pointers/recommendations about where one should start?

Member Avatar for Talguy
0
147
Member Avatar for Abdul wahid

hi can anyone help me, how can i exit an infinite loop?? i made a clock and i want that by pressing any key or ESC the prog shud exit here is the code ==============================================[CODE] #include<iostream.h> #include<stdlib.h> #include<conio.h> void display() { long int i,j; for(i=0;i<15000;i++) { for(j=0;j<15000;j++); } } void …

Member Avatar for WaltP
0
134
Member Avatar for grib

Had a moment to sit down and plow through a chapter, and as usual, wound up stuck. My compiler is giving me a string of [inlinecode]undefined reference to SALES::[all my function names][/inlinecode] in my main function. It's entirely possible that there are problems within the function definitions, but right now …

Member Avatar for grib
0
266
Member Avatar for MrJNV

Hi. I have this assignment and have absolutely hit a wall here. I will give the assignment details, then say what the issue is: Consider a collection of songs in an MP3 library where each song is characterized by artistName, songTitle, album, playTime (in seconds), musicCategory, and albumProducer – hence, …

Member Avatar for jonsca
0
154
Member Avatar for jolianne

hi can you help me make a program that convert decimal to binary,octal & hexadecimal, binary to decimal, octal & hexa, octal to decimal, binary & hexa and hexa to decimal, binary & octal? That's our project in logic design. thanks in advance...

Member Avatar for mrnutty
0
74
Member Avatar for ali zeeshan

write a program that prompts the user to input three number.the program should then output the numbers in ascending order.

Member Avatar for muzamal
0
95
Member Avatar for 9122080

The main programm is to permit input of a text of arbitrary length,the number os special frequencies of vowels must be counted. Output: Frequency of each english vowel(aeiou) ignoring the cases(i.e case insensitive) ignoring special vowels in other languages,depending on the following occurences: vowels in monosyllabic words vowels in two-syllable …

Member Avatar for VernonDozier
-1
115
Member Avatar for StaticX

Hi i am wondering if its possible to do the following,say i have 2 integer pointers containing numbers,and i want to add them together to a third integer pointer,is this possible?

Member Avatar for necrolin
0
100
Member Avatar for suman holani

Hi , I am writting an c++ boost shared memory application. The string/char class works fine . But the allocation to int phases some problem. It works fine for a while bt suddenly shared memory crashes. Unable to access it. here is a small snippet. we have to create a …

0
60
Member Avatar for sanjay kothari

It is possible to run our visual studio c++ application in Syambain OS ? If Possible then How to do? Syambain Support VC++ or Not ? thanks.

0
43
Member Avatar for tinhdau_noinao

[B]Hi all,i'm a new member.[/B] first,good luck for all,and then can anybody help me ? "how to find all path between two vertex in graph?" please give me some pseu,or some code(if possible) hey,thanks a lot.:idea:

Member Avatar for tinhdau_noinao
0
64
Member Avatar for Spiderpig085

how do i get a function to write to a file for me?? im getting the error error: invalid use of void expression i want to save my tic tac game board to this file in order to save it..... am i going the right way about it?? [code] if(save_or_not …

Member Avatar for Ancient Dragon
0
103
Member Avatar for Dewey1040

Ok im creating a program to make a database of people associated with a university, these people are called universitypeople, i have another file universitydatabase which stores all these people and will edit their information... well im having these errors when i type make... the errors could be class based …

Member Avatar for jonsca
0
118
Member Avatar for basedon

First off, I'm new to C++. I'm taking an intro class at university and have discovered something odd after installing Visual Basic 2008 Express on my laptop. Here's what I'm doing: New Project --> Win 32 Console --> Empty --> Add New item --> C++ File In my new C++ …

Member Avatar for jonsca
0
190

The End.