• Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for List of Codes ? Encyclopedia?

    Hello All, I am new to programming and have several books on starting out with C++. I was just curious if there was a publication that has a list of …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for how to change char into int

    [COLOR=Black]hi, i am a newbie and i just started to learn C++. My question is , if i put a number like 45678 in [COLOR=RoyalBlue]char x[6] [/COLOR] then how do …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Warning Error

    I recieved a warning error as below [C++ Warning] HMLP.cpp(4): W8058 Cannot create pre-compiled header: write failed which was refer to the code below #pragma hdrstop After check with help …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Why won't this compile

    So I had this nifty program on my calculator that I wrote that sloves quadratic equations for me. I decided it would be good practice to try and write it …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for How to improve program with string compairing?

    Hello ladies and gents, I had to do an exercise in wich I was required to compair two standaardtype strings opposits, meaning: name = "Johan", name2 = "nahoJ" The idea …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for C++ linked list help??

    I've gotten feedback from my instructor to modify my code because it contains poor design techniques. I need to add a " return " after each function without it going …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Output 2D array?

    Hello ladies and gents, I'm trying to output a 2D array, but can't seem to find the solution, can anyone help me out here. [code] #include <stdafx.h> #include <iostream> using …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Input Output File Streams - Sorting Help With Array

    Hi. Im doing a c++ course. And we are doing a assignment to do with I/O File streams. We are using struct. I can add, update, print, and search for …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Separate C and C++ forum?

    Since C and C++ are different languages, would it benefit Daniweb to split the C/C++ forum into separate C and C++ forums?
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Class with use of <vector>

    Hello ladies and gents, Wanted to make this part of an exercise in wich I enter each time two integers into an array for wich I have to use STL …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Overloading operators

    I have the following assignment due: Design a class -say, fraction - that performs the arithmetic and relational operations on fractions. Overload the arithmetic and relational operators so that the …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for "Generate" percent...

    Anyone knows what are percents... Some event has some chances to happen. From 0 to 100... if the percent is 0 it means zero chances to happen. 100 means it …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for why use c?

    hi i am a student of computer science.i am learning the c programming language.we spend all our time writing programs which tells itself a secret like adding numbers,kid stuff etc. …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Need Help Quickly

    My Program : [code]#include <iostream> #include <string> using namespace std; void Reverse(string &InputString); void CharSwap(char& First, char& Second); void main(void) { string InputString; cout << "Please enter the string to …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for fraction class algorithm

    i have the following for my operator overload [code]fraction fraction::operator+(const fraction& object)const { fraction temp; temp.a = a*object.b + b*object.a; temp.b = b * object.b; return temp; } fraction fraction::operator-(const …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for a crazy idea

    I'm wondering if i can create a program that reads texts file. In the text file is c++ code ... could that be compiled in the running exe? So basically …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Advice on hearing loss simulation using C++

    Hello, I am new here looking for some advice. I belong to a programming group that intends to simulate hearing loss via software that we are creating. At the moment, …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Ask a question

    I would like to design a program to implement a string of operation, such as: 1+3/4+5*5-(454*23-34) Then, it returns a correct answer. And what's the exact algorithms?
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Printing

    Hi Im using C++ builder 6 and need to print off some text. The text will be in the form of strings. I guess I need to use TPrinter. Can …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for How do I use strchr?

    [COLOR=Blue][FONT=Arial Narrow]Hi. I am a begginer :cheesy: on the programming area and I am currently taking a course on C++. I have doubts :o about how to use the strchr …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Trying to use pointers

    HAving trouble with my pointer arithmetic, any ideas appreciated My orgional code [code] Activity p[51]; for ( int i = 1; i <= n; ++i ) { // Read the …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for fstream isnt getting the data right

    I'm running into to this problem where the fstream is suppose to read data off a file to store in arrays. I cant continue with my project until the program …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Help with Searching files in Directories

    I am trying to search for files in Directories. like, i have 10 directories..... and consider directory 1, which has 2 files.. this is same with all the files... i …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Help. This is a strange problem

    When this program runs, I can enter in the name the first time through the while loop (using "cin.getline). When I go through the second time, it skips the name …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Help function not returning correct value

    [code] int hangman::checkstatus() { for ( int i = 0; i < 5; i++ ) { if (encryption[i] == '*' ) { return i; cout << i; break; } } …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Setting Up The Cursor Position

    I want to change cursor position in my C++ program. As you know, C++ does not have any command to do this. By I think, one of the h files …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Round Robin

    Greeting , it will be helpful if any one can provide me with Round Robin algorithm code in c/c++ thanks in-advance
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for help with counting letters part of program

    I got most of this too work, i talked to my teacher and he gave me some hints but i cannot get it full. The idea is to get the …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Controlling Hardware

    Hi, I was wondering if there is a way to control hardware in C++, such as opening and closing a CD drive. Thanks in advanced, C++
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Playing cards

    Hi guys, I am working on a project on playing cards using enum and class. I really need help with the function defination in this project, Here i will attach …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Window Interface in C++

    i teach a high school c++ course. i would like to use a window for user interface instead of dos console. could anyone provide me the basic code to display …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Why Data Structures???...QUESTIONS INSIDE

    I HAVE SPECIFIC QUESTIONS!!! 1. Why do you need [b]Self-Referential Classes?[/b] Please provide a "real" life example of when it would be used. [code]class Node { public: Node(int); void setData(int); …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Free C++ Book available Online!!!

    "THINKING IN C++" a real cool book in C++ is available online and can be down loaded free of charge. The site is!!! [URL=http://www.codecuts.com/mainpage.asp?WebPageID=315]http://www.codecuts.com/mainpage.asp?WebPageID=315[/URL]
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Accessing a mouse button

    Hi, I am making some software for microchips. I am currently developing some algorithms or the PC, and was wondering if there is a way to access a mouse button …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Exercise using: unsigned int datecode(int year, int month, int day);

    Hi ladies and gents, I wanted to start a new exercise, but after reading it several times, I actually don't know what the exercise is all about :!: The translation …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Interactive text file

    I want to make a program that will start off by opening a text file(blank). The user will put an expression in the file and as he hits the enter(enters …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Just wonderin

    i wanna start programming with c++ what would you guys suggest is the best compiler program out at the mo? :twisted:
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for How do I...call other programs?

    [SIZE=2][B]TO CALL OTHER PROGRAMS FROM WITHIN OTHER PROGRAMS-[/B][/SIZE] Just include the standard c header file cstdlib (no .h!!). You can now use the function system( :eek: ). It takes only …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Novice wants to improve skills

    Hello, i'm a novice who have some ideas of the basic concepts and some advanced topics like templates and exception handling. I now want to improve my programming skills. I …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for C++ Reorder random numbers

    I have random numbers such as 1 6 8 5 7 3 9 2 4 in a 1 dimensional array what for loop do I use to reorder the numbers …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Factorial?

    can anyone come up with a solution for this ? real quick for me? the factorial of a nonnegative integer n is written n! ("n factorial") and is defined as …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Happen to like this C++ Book

    I am not shamelessly promoting this book, I just happen to like it and use it a lot! "Standard C++ Bible" by Stevens and Walnum, published by Hungry Minds. This …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for confused about turbo c++ graphics.h

    hi administrator, I'm a beginner in c++.I need to draw a graph(x vs y type).I used graphics.h and ended up with a very primitive version of a graph.The graph appears …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for OOP any chance of assistance? Its about areas etc

    [php] #include <iostream> #include <cmath> using namespace std; class point { public: point(int xcoord , int ycoord); //constructor point(); int getX(); int getY(); double getDistance( point otherPoint ); void setpnt(point …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for School help c++

    i am suppossed to write a program using an array of strings to hold the words of the ICAO alphabet, and index the array by the positions of the letters …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for code problems

    in a book there is a code that i am trying out and my compiler keeps giving me diferent errors (compiler is Borland C++) and i dont know how to …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for c++ very new at

    hi i have just got my self a Borland 4.5 from ebay and would like some help in using it. i am very new to programing and i would like …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Using inputs from keyboard

    I am having a problem with inputs. I can get the input using the cin command but i want to use the input to open a file with the inputs …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for WHY(term does not evaluate 3 arguments)

    I am new at programming and need help: #include <iostream> #include <cmath> using namespace std; int main() { int a, b, c, area, tri_area; area = tri_area(a, b, c); if …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for graphics.h supplement?

    ok here is my question, i use borland c++ builder 3 and in a book i found an example for a graphics.h program which is supposed to work but i …

The End.