49,761 Topics

Member Avatar for
Member Avatar for naya22

Hi. Can anyone tell me some good websites that I can go to to find out more about functions in C++? Thanks

Member Avatar for mariocatch
-1
204
Member Avatar for nanodano

Is there any way to read or write to a socket besides using the [inlinecode]read()[/inlinecode] and [inlinecode]write()[/inlinecode] functions. Is there any way to treat it like a stream and use the insertion/extraction operators (<< and >>)? The reason I ask is because with read I have to put an arbitrary …

Member Avatar for vijayan121
0
183
Member Avatar for viraltaj

Hello friends, This is my first post on this forum. I just came here to learn a bi t of C++. I have developed an operating system called TAJ in C++. Its an object oriented operating system. It is multitasking, multithreading and multiuser operating system. This is its link: <snipped …

Member Avatar for jan1024188
0
154
Member Avatar for jerryseinfeld

Hi... I have a project whic is input should be like... Kazma 7 780 m Kaz 13 1400.5 f Azaz 1 601 m and output should be like.... Kazma 7 ,,,,780.00 "m" ,,,,,Kaz 13 1400.50 "f" ,,,Azaz 1 ,,,,601.00 "m" (please think without , ) In this project input can …

Member Avatar for jerryseinfeld
0
122
Member Avatar for MarzenaM

Hi! I am doing program to calculate votes. its very simple but .......... up to what I did so far it doesn't want to calculate the first vote. Please tell me what i am missing? It's what i did so far.[code=c] char choice; int total, voting_station, votes,spoiltVote, totalA, totalB, totalC, …

Member Avatar for MarzenaM
0
79
Member Avatar for Jedimaster

I want to know :idea: how to have a line output with highlighted text and how to COUT<< a Blinking line using Borland compiler ThankYou...

Member Avatar for WaltP
0
34
Member Avatar for l-o-s-t

I defined a struct that has the format: [CODE] struct node{ char *str; int key; link next; }; [/CODE] and I have a list of this type, when I try to do this [CODE] free ( list -> str ) [/CODE] the program terminates :-| how can I free the …

Member Avatar for l-o-s-t
0
127
Member Avatar for Green Anorak

Hi All I am very new to C and would appreciate your help. I am trying to create a program which reads a file (a list of numbers) and prints to the screen those which are higher than 0.7. Does anyone know how to do this? So far I am …

Member Avatar for DEMWilson
0
88
Member Avatar for Osama Mehtab

hi everybody, dayz back i've posted the intro thread I'm really needing ur help people to consult C++ as one of the core courses of my engineering Program tell me how can u help or just suggest me right now as I 'm a beginner:confused:

Member Avatar for WaltP
0
80
Member Avatar for i m gr8

Hello, I am university student and currently we are being thaught C++ and are studying Object Oriented Programming. Since last few weeks what ever assignment I get , My program always end up with thread stop error while runtime and I cant find the reason. I have to currently submit …

Member Avatar for iamthwee
0
476
Member Avatar for wujianwei

I have been wondering the definition... I mean, [B]Are both 00123 and 12345 five-digit numbers?[/B]

Member Avatar for Aia
0
101
Member Avatar for BaD-AiM
Member Avatar for naya22
0
97
Member Avatar for kaushalsahil09

please tell me how I can execute c++ program frm java I had tried this one but it does`t work /*import java.io.*; public class exe1 { public static void main(String[] arg) { try { Runtime rt = Runtime.getRuntime(); //int s=rt.availableProcessors(); Process prcs =rt.exec("inventry.exe"); InputStreamReader isr =new InputStreamReader(prcs.getInputStream()); BufferedReader br = …

Member Avatar for daninator09
0
627
Member Avatar for ithelp

Hello C/C++ experts, I write the following code [code] int a[10]; int b[10]; // initiliaze all element of array a and b to 0. a[11]=255; [/code] Neither the program crashes nor the value of b[0] becomes 255 What could be the reason?

Member Avatar for vijayan121
0
111
Member Avatar for earlyriser

Hello. I'm trying to read an input file to build a list formed by structs. The input file has this format: 1 2,15 3,0 2 1,15 3,8 ... the first number of each line will be in what I call NOMBRE, and for the rest of the numbers in the …

Member Avatar for earlyriser
0
77
Member Avatar for mrjoli021

I am using c++ I have a string array and I need to convert it to an int array. I tried static_cast and that did not work. Any suggestions

Member Avatar for iamthwee
0
65
Member Avatar for mrjoli021

I have a two dimensional array that I need to make into a global variable to be able to access it from other functions. I can't quite figure out what the correct syntax is. [code] [COLOR=#008000] [/COLOR][COLOR=#0000ff]#include[/COLOR][COLOR=#000000] "stdafx.h"[/COLOR] [COLOR=#0000ff]#include[/COLOR][COLOR=#000000] <iostream>[/COLOR] [COLOR=#0000ff]#include[/COLOR][COLOR=#000000] <fstream>[/COLOR] [COLOR=#0000ff]#include[/COLOR][COLOR=#000000] <string>[/COLOR] [COLOR=#0000ff] using[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] std;[/COLOR] [COLOR=#0000ff] void[/COLOR][COLOR=#000000] …

Member Avatar for Aia
0
123
Member Avatar for mrjoli021

in c++ how do I get the size of a string array. sterlen(arrayname) does not work or size(arrayname) either. I am getting sterlen or size as idenitfier not found at compile time.

Member Avatar for WaltP
0
218
Member Avatar for tasomaniac

[I]<< split from [URL="http://www.daniweb.com/techtalkforums/showthread.php?t=22498"]this[/URL] thread >>[/I] I am a student in Bogazici University/Turkey. We have a project and I want to change the cursor position but there is a problem. Our teachers are using Microsoft Visual C++ 2005 Express Edition. In this compiler there is no windows.h header. What can …

Member Avatar for TkTkorrovi
0
612
Member Avatar for Aia

If you would have to write your own implementation of the function [COLOR=Blue]getchar()[/COLOR] in C; how would you do it?.

Member Avatar for vijayan121
0
483
Member Avatar for jan1024188

I have compiled a project using Visual Studio in Vista ultimate. On my computer the application works fine, but on the computer where XP is installed I get the error like "Progam configuration is wrong". Do I have to compile my WIN API project in XP to be runned on …

Member Avatar for vijayan121
0
267
Member Avatar for david4u

Hi Everyone, I am new to C/C++, I would like to perform the following task: 1. Build or model a wireless nodes for about 10 computers 2. Assign two feature to each of the node e.g. FTP and TELNET, or SMTP and POP3. So that each node can be given …

Member Avatar for John A
0
252
Member Avatar for Daniel E

I'm trying to switch from Turbo C++ to MSVC++, I've gotten most of the differences in coding and libraries worked out, though I keep getting this problem and I have tried to find a solution but I haven't been able to find one after 30 minutes of searching for it. …

Member Avatar for vijayan121
0
115
Member Avatar for maverick786

I would like to write a program that creates a relational database that handles queries using only C++. What would be the most appropriate method? Using arrays, linked lists or something else? Please advise.

Member Avatar for maverick786
0
211
Member Avatar for lotsofsloths

OK, i am using Microsoft Visual C++ 2005 Express Edition, and am using the Window Applications part of it (compared to using Command Prompt to display programs) Now, as for the program, i am making a password machine that tells users to enter a username and password, my program will …

Member Avatar for lotsofsloths
0
126
Member Avatar for Tales

Hi all, finally the first part of my program is working, it plays a MIDI melody extracted from a database. How did I do it? A little MySQL++ and the Play midi voice article posted in the code snippets. But now I'm facing a problem... I am supposed to play …

0
52
Member Avatar for nottoshabi

Guys I have to deceipher this code but I can't make heads or tails out of it cause it closes the comand window before i can see anything I tried adding a system pause at the end but that just gave me an error. [code=syntax] // Program 6.9: Validate a …

Member Avatar for ~s.o.s~
0
105
Member Avatar for Navrex

Hey .........Would any 1 like to tel me that if the mege sort works at runtime or not.? im giving my code below....Tell me y it is not running in VC++ correctly.....the code given below doesnt have any error in code but when any1 runs it it gives error.....CHECK IT …

Member Avatar for jwenting
0
106
Member Avatar for Lance Wassing

Hello Everyone, I have started creating an open source database architecture, with a waa, and much more. There is many features that can blow SQL, and access out of the water, including but not limited to: 1) true multi-dimensionalism, 2) array fields 3)File embedding, of 30 or more formats.. 4) …

Member Avatar for Infarction
0
193
Member Avatar for Sacky

Well i'm trying to implement pawn into my app (pawn the embedded scripting language) and while including the amxprocess.c i get these errors: [QUOTE]Error 1 error C2708: 'push' : actual parameters length in bytes differs from previous call or reference 524 Error 2 error C2708: 'push' : actual parameters length …

Member Avatar for Sacky
0
103

The End.