49,761 Topics
| |
Hi. Can anyone tell me some good websites that I can go to to find out more about functions in C++? Thanks | |
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 … | |
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 … | |
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 … | |
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, … | |
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... | |
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 … | |
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 … | |
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: | |
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 … | |
I have been wondering the definition... I mean, [B]Are both 00123 and 12345 five-digit numbers?[/B] | |
| |
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 = … | |
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? | |
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 … | |
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 | |
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] … | |
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. | |
[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 … | |
If you would have to write your own implementation of the function [COLOR=Blue]getchar()[/COLOR] in C; how would you do it?. | |
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 … | |
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 … | |
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. … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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) … | |
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 … |
The End.