49,761 Topics
| |
I've placed a CSV file into an array with C++ with each row being a single array element, but the file contains many, many columns that I don't need. I only need columns 1,2,3,4,6,7 out of about 50. Is is best to read the full value into the array and … | |
Hey guys im working on a a banking program for my cpsc class and i have the code finished and i just cant get it to run, i believe my brackets are wrong somewhere but i just cant figure out which ones so if someone could juss help me out … | |
I just started class about 4 wks ago. I just got my deitel's c++ how to program book and I already cannot figure out how to do this homework assignment... (I got shiested online...getting refund, just had to purchase book late.) use a while statement to determine and print the … | |
I'm trying to write program that evaluates a poker hand and returns whether or not it contains a straight, flush, pair, etc. I've got every method except one to work. I cannot figure out how to correctly write the method that determines whether or not there is a straight. Every … | |
hi everyone! can anyone help me with making a program which is to print a timekeeper like shape with "*" | |
I want a program, which will set an alarm on a computer at a specific time according to the day and time... and a window will pop up on the screen with your own text on it.... I want the yellow notification box on the toolbar to popup indicating a … | |
I am using third party library for developement of the system and that third party library is not supporting for the multithreading. Is there any way to support the multithreading functionality without touching the code of the library? ;) | |
Hi, I need help with something I'm working on. I just want to get a basis to start, but I'm hoping to end up with a system where I can store encrypted output in an outside file. Right now my algorithms are a little elementary to consider even stable, but … | |
Hello Group, I am looking for some help with DevC++ compiler. Version 4.9.9.2. In my database Management II Course, we are supposed to compile a sample ODBC Application written in C Code. When I open the compiler, I cut and pasted the code into the work space because the code … | |
I have an operator overloading question... I have attempted to overload the >> operator so I can read a file directly into a "SongInfo" object, and attempted to overload the << operator so I can display a "SongInfo" object directly to dos console. When attempting to compile, I recieve, "overloaded … | |
I can code things okay, but I have real trouble coming up with algorithims to solve problems. For instance this problem: 'A scientist uses rabbits (yes, another rabbit problem) in her experiments. She starts out with one pair(male,female). At the end of each month, a pair of rabbits produces one … | |
I am working with Borland C++ Builder 5 . When trying to run Client program from another computer in a LAN it complains that "it can not find the Vclmid50.bpl library." Note: Smart Agent & Server Program are running | |
I want to know an inbuilt function/API in VC++ 6.0 which will return the 1) Bus width 2) Bus type 3) CPU alias | |
Folks, I need to write a small application that runs on a Windows Mobile 5 based device. All I need it to do is listen to a port and return whatever it sees. I have searched all over and can't find a good resource for this. I have found many … | |
Hey everyone. I had a few questions and I was hoping you could point me in the right direction. I'm currently taking a C++ class in college. I learned C last year and the transition has been relatively easy. I understand a majority of C++(probably 75-80%), I just have problems … | |
How would you make the program pause for a certain amount of time? I can't just tell it to do some trivial task over and over for so many loops, because the compiler seems to know its trivial and cuts it out. There's gotta be a simpler way anyway. | |
Okay, Iv'e finished learning C++. What can I do with it? Specifically, I want to do some graphics stuff, anything beyond iostream and fstream. What comes after C++? I know it does more than this. If I could just have a function to set a pixel, I could make my … | |
I wrote this little code to test a 2 dimensional array. Given the array array[row][col] I can find total_columns, but I am at loss to figure out total_rows. [code]// 2 D array #include <iostream> using namespace std; int main() { int row, col, total_columns; // two dimensional array in the … | |
hello, I have a Quicksort c++ program and I have tried to run it and it gives me an error calling it "segmentation fault" , i know there is somthing wrong in my code but can't figure it out. anyways any replies for a solution will be appreciated. thank you … | |
I submitted a soda machine problem earlier that had 25 error, I have made some corrections, but I still have 6 errors. Can anyone help. [COLOR=blue]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=maroon]<iostream>[/COLOR] [COLOR=maroon] [/COLOR] [COLOR=blue]using[/COLOR][COLOR=#000000] std::cout;[/COLOR] [COLOR=blue]using[/COLOR][COLOR=#000000] std::cin;[/COLOR] [COLOR=blue]using[/COLOR][COLOR=#000000] std::endl;[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=blue]int[/COLOR][COLOR=#000000] getcoins ()[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]{[/COLOR] [COLOR=#000000] [/COLOR][COLOR=blue]int[/COLOR][COLOR=#000000] total = 0, number;[/COLOR] [COLOR=#000000] … | |
I am trying to create a binary tree. Ultimately I would like a user to be able to insert how deep he or she wants the tree to be and then have my program be able to create the tree at that depth. Root = depth 1 and so on. … | |
When someone accesses a cgi script in their web browser is there a way to gather information, like IP address or user's web browser? I know how to read command line arguments, but I have a feeling that isn't how it would be passed via the web. Maybe someone can … | |
Hello, I'm a college student taking a programming class and I'm trying to write a program for this class. I've done most of the work already I just need some hints or a push in the right direction as far as my client-code is concerned. Here's the code for the … | |
Ok, I have a small problem. I'm just trying to get my program to read a single line from a file at a time, and put the results in a vector. The problem is at the end of each vector. It repeats the last element twice and also adds a … | |
Hi everyone..i'm new c++ programming and i would like to know if its posible to convert a string to a vector array...(Eg string s = "Hello everyone" array a[1]='H', a[2]='e'....)I need a vector array because i do not know what my string will be...it will change everytime...If it is posible … | |
Hi, I need help to either provide the C++ codes or point me the proper link to find the Euler cycle. My aim is this: • Input: A directed graph G represented by a set of vertices and a set of edges. • Output: An Euler cycle for G (or … | |
i hv 1 assignement which need to do the finite element analysis by using Borland C++..and openGL.. but i dun know what source code shoul i use to solve the finite element analysis in Borland C++ and openGL.. pls help me!!thanx for help.. | |
hi..i'm facing some problem to draw morh's circle by using opengl in Borland C++.. i'm able to draw 3 circles which is 2 small circle "in" 1 big circle..but may i know tat can i insert a formula into openGL to find out the radius for these 3 circle automatically? … | |
Thought I had this going, but I guess not. Would you look it over and get me headed in the right direction please. [COLOR=#000000]Need help creating this to these instructions, mainly with the part where I call an existing files that has already been created and saved in Notepad as … | |
:!: I'm very new to programing, been trying to write this coke machine program. Can anybody help me. [COLOR=blue]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=maroon]<iostream>[/COLOR] [COLOR=maroon] [/COLOR] [COLOR=blue]using[/COLOR][COLOR=#000000] std::cout;[/COLOR] [COLOR=blue]using[/COLOR][COLOR=#000000] std::cin;[/COLOR] [COLOR=blue]using[/COLOR][COLOR=#000000] std::endl;[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=blue]int[/COLOR][COLOR=#000000] getcoins ()[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]{[/COLOR] [COLOR=#000000] [/COLOR][COLOR=blue]int[/COLOR][COLOR=#000000] total = 0, number;[/COLOR] [COLOR=#000000] cout << [/COLOR][COLOR=maroon]"put in coins: "[/COLOR][COLOR=#000000];[/COLOR] [COLOR=#000000] … |
The End.