
please wait
by Minimacfox
I can't work with multiple files!
|
The compiler doesn't allow me to use multiple files for some reason?! Please help! My files: Main.cpp #include <iostream> #include "proto.h" using nam... |
May 25, 2013 at 10:22am
[2 replies] Last: It looks to me as though the #include "proto.h" failed to find or re... (by Chervil)
|
by genius9955
from switch to if
|
this is a question from exam....and my answer is after the question is it write or not? please tell me if i go wrong. question:Rewrite the following switch... |
May 25, 2013 at 10:17am
[3 replies] Last: if(grade=='A') || (grade=='B') cout << “good”; else if(grade=='C')... (by vlad from moscow)
|
by marvin77
how to open file from c++
|
guys, how to open file from c++ this is my coding, can you help me to fix it?? { cout<<"Find subject that you want: "<<endl; cin>>b; strcat("D... |
May 25, 2013 at 9:25am
[19 replies] Last: kbw, beacuse the program can't open the file thanks to MiiNiPaa, you r... (by marvin77)
|
Letter Count Function |
So I need to decrypt a file, and my first step is to find the most common letter. I've written the following function to increment the letter count and it seems... |
May 25, 2013 at 8:57am
[10 replies] Last: When change it to cout << letters[ index ]; And why are you inventin... (by vlad from moscow)
|
by devroad
File I/O
|
Hello all, I'm working on a file I/O at the moment and I need some guidance. I have a fraction structure, and I'm dynamically allocating the structure through... |
May 25, 2013 at 8:39am
[7 replies] Last: In general, avoid operating on the same file, keeping the same file si... (by JLBorges)
|
by nmdsting
problem on submitting 3n+1 problem
|
i am a beginner . i am trying to submit a solution of 3n+1 problem.it works properly but when i submit this , wrong answer is replied.please help me to solve th... |
May 25, 2013 at 7:53am
[6 replies] Last: > What 3n+1 problem is? Details. long int is may be too short ... (by ne555)
|
by pata
Passing char* argv[] from main
|
How would I pass a char pointer to a array of pointers to a function? (think i said that right) I want to print out the strings from the command line arguments ... |
May 25, 2013 at 7:42am
[4 replies] Last: its type is char** when we use subscript operator x we gor char* ,... (by MiiNiPaa)
|
by Dhvanit
optical shop simple software
|
hey everyone! I am making simple optical shop software in which we have have to enter name,age and customers number of specs. But i am not able to save record... |
May 25, 2013 at 7:11am
[2 replies] Last: I have tried. This is the program: #include<conio.h> #include<string> ... (by Dhvanit)
|
by Observer
How to find out the number of seconds from 1700 until the specified date and time
|
Hello! How to find out the number of seconds from 1700 until the specified date and time? Now I'm trying to find quantity seconds between 00h 00m 00s 01d ... |
May 25, 2013 at 6:29am
[14 replies] Last: keskiverto, thank you! With GNU date: # date -d 1700-01-01 +%s -852... (by Observer)
|
Locating position of Array |
For example, for an employee clock in program, I type in the employee id, it searches the array to see if its there. Once the ID is found, I want to store the p... |
May 25, 2013 at 6:14am
[1 reply] : Well, if you use a for loop to iterate through an array, just store th... (by Ispil)
|
by dunnmifflsys
Change font on mac
|
Hi, I'm a new developer (obviously), and although I will use Cocoa/Objective C to make GUI's, for now I want to be able to change the font and colors of the fon... |
May 25, 2013 at 6:03am
[no replies]
|
Help regarding formatting for a Fibonacci Sequencing Program |
I basically have the whole thing written, and it works perfectly, but my professor is asking us to have six values per row, and my values are being outputted in... |
May 25, 2013 at 5:58am
[3 replies] Last: hi. here's my advice: remove line 32, and place these lines instead: ... (by Rechard3)
|
by rorschach775
Prime numbers chart
|
Hey guys. I read the forum rules so I'm just going to be honest, this is a homework question. I'm not looking for a completed program or anything. I'm well ahea... |
May 25, 2013 at 5:56am
[6 replies] Last: Chervil yeah sorry about that. The 'g' columns were primes per 100. An... (by rorschach775)
|
by Garrett05
Results error. Cant determine if it's my formula or my function. please help!
|
Please help. My results are wayyyy off. If you put in 10 for the rate and 36 for the period... it's waaayyy off. I feel like I'm looking right at it and just... |
May 25, 2013 at 5:10am
[3 replies] Last: hi, i have one question for you mr.Garrett05: aren't you have an "out ... (by Rechard3)
|
by litoscu
Keep track of a single element after sorting an array
|
I have an array of number in which one element is "activeItem" determined by the position in the array. After I sort it, that "activeItem" will most likely chan... |
May 25, 2013 at 4:19am
[15 replies] Last: Thank you to everyone for your help, I really appreciate it. I finally... (by litoscu)
|
by dgcharitha
ncurses.how to get this triangle to x,y coordinate (4,6)
|
#include<ncurses.h> #include<iostream> using namespace std; void tri(int row,int col,int hei) { for(int i=0;i<=hei;i++) { for(int j=5-i;j>0;j--) cou... |
May 25, 2013 at 3:27am
[no replies]
|
by kathrine
strings
|
Q1:-The user enters a sentence your task is to output every word on a new line. *please note that i haven't learnt strings yet so please help me with it.* ... |
May 25, 2013 at 3:08am
[5 replies] Last: thank you it makes sense now...:) (by kathrine)
|
by damasta6
Majority element in an array
|
Hi, I'm trying to make a program that finds out the majority element in a user-input. A majority element is an element that is repeated more than half of the nu... |
May 25, 2013 at 1:54am
[4 replies] Last: If you are comfortable using STL algorithms, you can do the following:... (by ats15)
|
by SlateHawk
Student info
|
Hey everyone! I need some help with this code. I need to create a program that acts as a student information library, where it stores the students' first name,... |
May 25, 2013 at 1:53am
[5 replies] Last: Thank you (by SlateHawk)
|
by arashf
Memory issue
|
Hi, I am not sure how I could give you information about the following error. The code is too long to put here. The program make a large double array of size... |
May 24, 2013 at 9:09pm
[15 replies] Last: It works. Thanks keskiverto. (by arashf)
|