- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 4
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Re:
Hi i have a binary function search program where the user enters a index of numbers, then enters the number he wants to find. However my program wont compile and says the subscripted value is neither an array or pointer. Help me out please. Here is what ive got: [CODE]# … |
|
Re:
Hello, I have to write a program that merges 2 seperate files and then outputs to a single file. Each input file is to have numbers in ascending order and the output is supposed to compare these and then put them in ascending order. ex.: input1 = 1 3 5 … |
|
Re:
Hey all. I'm really new to programming and would like some help, if you all don't mind ;) I'm not actually having trouble with the programming, but rather, what I'm being asked to do. Here is what I'm supposed to do (and yes, it is an assignment, but I'm only … |
|
Re:
Hi! I'm currently taking a computer programming course at Wagner college and I have a project due this week that I am completely stumped on. these are the guidelines: [I]This will be a something like a “compatibility program”. 1) You will ask the user their name, and store it. 2) … |
|
Re:
[CODE] D:/Documents/NetBeansProjects/cap/main.cpp:33: undefined reference to `_imp__pthread_create' D:/Documents/NetBeansProjects/cap/main.cpp:34: undefined reference to `_imp__pthread_create' D:/Documents/NetBeansProjects/cap/main.cpp:35: undefined reference to `_imp__pthread_join' D:/Documents/NetBeansProjects/cap/main.cpp:36: undefined reference to `_imp__pthread_join' build/Debug/MinGW-Windows/main.o: In function `Z8cancelerPv': D:/Documents/NetBeansProjects/cap/main.cpp:47: undefined reference to `_imp__pthread_kill' D:/Documents/NetBeansProjects/cap/main.cpp:48: undefined reference to `_imp__pthread_exit' D:/Documents/NetBeansProjects/cap/main.cpp:51: undefined reference to `_imp__pthread_exit' [/CODE] this is the error i got when i compile … |
|
Re:
I trying to write a program that uses a getline to read from a txt file. I need it to read from the file until it reaches a line that has "$$$" in it. I can get it to read in the file like this no problem. [CODE] //assuming all … |
|
Re:
I wrote a program to solve a system of linear equations. It works fine with the VS compiler. But when I try to run it using Cygwin, I get a seg fault(core dumped). But it does not say where the seg fault is. I am using the following commands: to … |
|
Re:
Hi, I'm trying to create a quick and small programs that works when you press F9, it should create files on my desktop using "ofstream" from A to Z. I can't get it to run when i put ofstream in a [B]for[/B] cycle. Here is the code to see it … |
|
Re:
I am a student in C++.We undertook a school project to develop a library information system.We are only allowed to use Turbo C++ version 3 compiler.We cannot use ANSI/ISO C++(Not in our syllabus.)The following is my problem: In my project, I have a class books.When the program is first run, … |
|
Re:
Hi there, I am relatively new to C++ and was hoping someone could provide me with some guidance, I have a .txt file that contains a heap of HTML and I wish to extract a small portion of [B]dynamic[/B] text from differing places. For example: [U] .txt file before filter[/U] … |
|
Re:
I am in desperate need of help! I am having an issue inserting the word into the correct list. Each array index is a letter of the alphabet, and the words need to be put into the correct index according to the first letter of the word. Can I get … |
|
Re:
Hello, I am beginner with c++ programming and I need help with this source. I tried to find a way for getPrintDetails to not print a infomation. //Course: 4002-208 //Author: Joseph Dalpra //Topic: Functions //Name: project4.cpp //Purpose: Using functions to shorten repeated code // Play the game of craps for … |
|
Re:
I need to have a function like this: if (x == 1){ ... } do some amazing things. I need it to check to see if x == 1 through 380 or more. But I really don't want to waste 4 hours doing this: if (x == 1 || x … |
|
Re:
So I need to find the highest and lowest for some numbers I am storing into struct [code=c] #include <iostream> #include <string> using namespace std; struct WeatherStation { string StationDesignation; double Temperature; } CA, FL, NY; // EXAMPLE, I WILL ADD A LOOP FOR FL AND NY int main() { … |
|
Re:
From what I've googled, it seems like symbol reference errors are linking errors.. If I am wrong, please let me know. I'm trying to make a very simple program(DataReader.cpp) that takes inputs from a text file and saves them in a form specified in Data.cpp/Data.h. But I keep getting symbol … |
|
Re:
Since i am learning c++ myself and only have access to ebooks(no credit card to buy books), i ask a lot of questions so please bear with me. Take a look at the following code:[CODE] //: C04:Cppcheck.cpp // Configures .h & .cpp files to conform to style // standard. Tests … |
|
Re:
Hello, I am new to C++ programming but not to programming in general. I have coded in VB, Java for a number of years. But C++ is a bit trickier than I expected. I have searched and looked over several threads on here pertaining to tokenizing and char to int, … |
|
Re:
Hey, I'm studying c++ programming at university at the moment. We've recently moved onto arrays - which I understand mostly. I have no problem displaying information from an already set array, e.g. [CODE]int storage[5] = {1,2,3,4,5};[/CODE] However, I'm having problems when adding my own data to an array within the … |
|
Re:
Hello Daniweb, This is my first official "help" thread. I'm currently attempting to read a file that has the following code: [CODE]8 split 1 9 1 spare 7 2 10 strike 8 2 spare 6 split 2 7 3 spare 10 strike 10 strike 10 turkey 8 1[/CODE] and have … |
|
Re:
Hello all; I'm new to this list & C++. I am looking for a windows XP compatible editor (free is best). I tried to download Borlands C++ 5.5 but unable to get the email that is supposed to come (I see others have had the same problems). I'm just trying … |
|
Re:
any idea how to cunt a pointer, i did some thing like that but doesn't worked ( for (i = 1; i<currentNode; i++)) i've got an error ( comparison between pointer and integer). so any idae how to solve this problem. |