49,761 Topics

Member Avatar for
Member Avatar for jenymaru08

elow can i ask what is the purpose or use of iomanip in C++ ? thanks

Member Avatar for vijayan121
0
125
Member Avatar for ReeciePoo

Could anyone recommend my best way to start learning C++ Windows Applications Like any tutorials or books for that matter any help woudl be great

Member Avatar for fulyaoner
0
94
Member Avatar for ReeciePoo

Im wondering how to change the default font of a windows app to like Tahoma or somethin and change aswell the size of font using C++

Member Avatar for Ancient Dragon
0
32
Member Avatar for ReeciePoo

Hello i was wondering if there is any tutorials or help files out there about windows applications features (e.g buttons combo boxes, checkboxes, so on and so forth) Any help would be cool Cheers

Member Avatar for ReeciePoo
0
109
Member Avatar for bigben09

OK I need the firstname astname and grade to all be put in an array i cant get it to work. Where do I put the array? [CODE]#include "stdafx.h" #include <fstream> #include <iostream> #include <string> using namespace std; const int MAX = 3; struct Person { string Firstname, Lastname; int …

Member Avatar for Narue
0
148
Member Avatar for jan1024188

hello, Can anyone tell me how to get a current path (working directory in linux), using WIN api or iostream. Thanks in advance

Member Avatar for jan1024188
0
86
Member Avatar for MukeshZ

Hi I want to set an internal timer of 30 seconds in c++. within that user have to enter 3 inputs one after other. and for each input i want set one Parameter which will change for each input by user. example user i/p parameter 1. abc 5 2. pqr …

Member Avatar for MukeshZ
0
145
Member Avatar for jaepi

im a beginner in c++ language, it is my first time to handle c++ (because im a java programmer)...part of my training in c++ is to create a dvd controller that will open, close, write and eject the media(preferably cd-rw), and of course, be able to get the files to …

Member Avatar for Ancient Dragon
0
110
Member Avatar for wheelie

could someone please just write a qiuck bit of code that loads a wav file into memmory that can be played, and accessed as quickly as possible by pressing just a single key. ive been trying this for days, all my code is far to slow, and the responce after …

Member Avatar for fulyaoner
0
141
Member Avatar for roflol

Something like this: [code] #include<iostream> using namespace std; // the function below takes an integer and outputs a corresponding letter void convert (int num) { ... } int main { int num; cout << "Enter an integer" << endl; cin >> num; convert (num); system("pause"); return 0; } [/code] E.g. …

Member Avatar for roflol
0
5K
Member Avatar for squinx22

Do you have any links where I can find stuffs in making c++ class archive? thanx in advance

Member Avatar for vijayan121
0
87
Member Avatar for keatsey-9

i have an array that looks like this after it has been populated: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . …

Member Avatar for keatsey-9
0
90
Member Avatar for vijayan121

variations of this are being posted repeatedly here. hope this will clarify things once and for all. [code=c] // to choose a random element from a sequence when // a. you do not know how many elements are there before hand // b. you want to make one single pass …

Member Avatar for vijayan121
0
239
Member Avatar for Duki

Hey guys. I have a horrible problem with passing strings in a function and using the string to open an input file. Could you guys give me a hand? [code]#include "pe3.h" int main () { int ary[ SIZE ] ; ifstream inp ; string iNam ; cout << "Input-file name: …

Member Avatar for John A
0
115
Member Avatar for pulse0

I have a data base of 2000 people the following orientation: [phone-number] [Name] [address] [zipcode] all seperated by spaces in a text file. I want a way to read this data into a struct: struct person { long phone number[10]; string name[30]; string address[100]; int zip[5]; } The address and …

Member Avatar for John A
0
242
Member Avatar for MaestroS

I really want to know WHERE I can find a simple example of parser for own script language for games. I found one on gamedev.pl [polish site], but I can't stick together all parts of the code. It'd be nice if someone can post a links to examples. I mean …

Member Avatar for MaestroS
0
1K
Member Avatar for some one

hi please i need your help i need an idea of how to encrypt text in file text using c++ Thanks alot

Member Avatar for some one
0
73
Member Avatar for steve_d

Hiya, Sorry for this extremely simple question of mine but... I'd need this small piece of code that would remove any empty space from the start or the end of a char[]. I've done my basic Java stuff but I'm clueless with c++. So far I've tried to fiddle around …

Member Avatar for ~s.o.s~
0
95
Member Avatar for Bidromicles

I'm trying to write a C++ program that uses some compound structs and vectors, and I'm getting a compile time error: multiple types in one declaration. Here's the form my code's in: [code] #include <vector> using namespace std; struct Struct2 { int value1; int value2; }; // end Struct2 struct …

Member Avatar for Bidromicles
0
114
Member Avatar for Zay

Hello; can any 1 tell me what is the answer for the following statement : 1%10 and 1%2 :)

Member Avatar for Aia
0
94
Member Avatar for jenymaru08

Elow, I'm new member of this forum and also new in C++.I'm just start to learn it I need help.....i want to write a program that will ask the use an integer number and output the word equivalent ofthe input(1000-3000)limit inclusive example input:1525 output: one thousand five hundred twenty-five i …

Member Avatar for ndeniche
1
128
Member Avatar for addicted

hey, i read that in C++ some programmers consider using break and continue statements as a violation of structured programming practise....... and usually avooid using them except in switch statements..., i will like to know how to use the structured equivalent of these statements..... i want to know the statement …

Member Avatar for Narue
0
157
Member Avatar for naya22

Hi. I'm currently writing some design tools for my programs, and I am in desperate need of some help. Does anyone have any good sites that I can go on to find some tutorials on how to use the hierarcy chart, pseudocode, and flowchart for C++ program??

Member Avatar for ~s.o.s~
0
86
Member Avatar for T-Fizz

Hi, I am writing a program that has some functions in it to open, read and then search through lines in a file. It will be a txt file. Currently I am trying to find a way to pass the Open file to the ReadFileLine function, so that it can …

Member Avatar for Infarction
0
113
Member Avatar for desijays

Im using VC++ express and usually i come across situations where i have to create more than one project within the solution. But the problem is that each time i create a new project inside the solution, i have to go to the new project's property pages to add the …

Member Avatar for Infarction
0
334
Member Avatar for C++freak

Hi all, I was writing a program for sorting the test scores using array of pointers and dynamic memory allocation. Surprisingly, I am getting indefinite values after sorting. I wrote a header file, .cpp file and main. cpp. Actually, after sorting I thought of adding an average function in .cpp …

Member Avatar for Ancient Dragon
0
113
Member Avatar for lol_hacker101

hey all... i began to learn C++ about a year ago, and i have progressed to the point where i create text-based games(long ones) with various commands. however, i do not know how to [B]begin [/B]a source file. whether my instructor missed it or did not go over it, i …

Member Avatar for linux
-1
139
Member Avatar for weewee

Hi everyone! I have one Visual C++ program with exe format. Type of file is Application. I want to know the coding behind that file.. That file is an example of my project. Everyone who know the answer...plz help me.... Thks...Thks :)

Member Avatar for jbennet
0
56
Member Avatar for linux

Would it be possible to write a proxy in C++? I mean a CLI application that would take a users input (a site name) and open Internet Explorer / FireFox to that page, bypassing network restrictions all the other fun stuff that a proxy does, much like proxy.org?

Member Avatar for linux
0
106
Member Avatar for keatsey-9

i am trying to compare an element in an array but it gets stuck in a loop. from what i see it doesnt even compare the element. I want to place a x in an array but if there already is an x there i want to place it above …

Member Avatar for Ancient Dragon
0
85

The End.