Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
3
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #3K
~10.8K People Reached
Favorite Forums
Favorite Tags
Member Avatar for rayborn66

Hi I need some help. I am trying to write a program that will search a file for numbers of type int and write the largest and the smallest numbers to the screen. This is how far I got but when I it came to writing the code that would …

Member Avatar for Emran__
0
2K
Member Avatar for globberbob

Well, in this program I want it to take in a string or character array I really don't care which, for this instance I wouldn't know which is better. Afterwords, it compares those in if statements and sets a variable to a 1(female) or 2(male). Anyways, here is what I …

Member Avatar for globberbob
0
177
Member Avatar for kazuki05

hey guys! mind if you help me here? we were asked to make a grading system. here is my code.. [CODE] #include <iostream> #include <string> #include <cstdlib> #include <iomanip> using namespace std; void main() { system("CLS"); char fn[50],ln[50]; string *name, *enam, temp, *R, wN, fin, lan; double gr, *g, temp2, …

Member Avatar for Anyzen
0
95
Member Avatar for baconswife

I have typed this many ways into dev-c++ trying to figure out how to figure out the output but it always comes back with errors no matter what headers I have used and other things. Can anyone give me some ideas? I don't want the answer, just ideas on how …

Member Avatar for mike_2000_17
0
1K
Member Avatar for newbie_to_cpp

Hi All, I am new to C++. I am practicing loops and i need some help. This one behaves strangely. What i want is for this loop to accept numbers from 1 to 4 for options (strictly numbers) and no other characters. When executed and run, if the input is …

Member Avatar for ceriamultimedia
0
97
Member Avatar for unexpert

Hello. I'm having a bit of trouble with my programming. I'm giving a signal to my board and it will detect and display the maximum and minimum point of the signal wave. However, I'm not really sure if I wrote my codes correctly. Also, I'm getting this error : "operator …

Member Avatar for unexpert
0
157
Member Avatar for glamourhits

HII ... i was doing this program where i can enter student grades and the program will tell me like the over-roll grade .. and stuff .. i am almost done i think but i am stuck now soo plz if u can make this work plz help .. THANK …

Member Avatar for Anyzen
0
167
Member Avatar for Anyzen

Hello.. Supposing that i have this code..i want it to end after a character is pressed..but i dont know what to add...i can end it if input is negative or zero..but not char..i tried some experiments but it will end up debug assertion fail..help would be great.. [CODE] // adds …

Member Avatar for Anyzen
0
101
Member Avatar for Anyzen

i have a code that reads lowest and the highest number with inputs that are all Integer but, once i have an input (ex. apple 200)...it wont read anymore, need help in what to input code that ignores letters [CODE]//reads numbers only ex. 100 200 300 int main() { ifstream …

Member Avatar for Kanoisa
0
143
Member Avatar for bmos

I was assigned to write a program that will verify a password entered by the user. The program should verify that the password has 6-10 characters and atleast 1 uppercase, 1 lowercase, and 1 numeric digit. The program runs, but will only display the length of the password entered and …

Member Avatar for Anyzen
0
6K
Member Avatar for Anyzen

Hello i have a code here that partially works...the point in the program is to store 10 array integers then outputs how many times that integer is entered ex. input: 1 1 1 1 1 2 3 3 2 99 output : 1 = 5 2 = 2 3 = …

Member Avatar for Anyzen
0
161
Member Avatar for ZlapX

Basically everyone should laugh at how stupid this may sound but this code is somehow wrong... which is funny because it is as simple as hello world.... [CODE]#include "stdafx.h" #include <iostream> using namespace std; int main(void) { cout << "Wake up, Neo.\n"; Sleep(6000); cout << "The Matrix has you.\n"; Sleep(6000); …

Member Avatar for ZlapX
0
238
Member Avatar for mrnutty

From project euler : [code] By starting at the top of the triangle below and moving to adjacent numbers on the row below, the maximum total from top to bottom is 23. [COLOR="Red"]3[/COLOR] [COLOR="red"]7[/COLOR] 4 2 [COLOR="red"]4[/COLOR] 6 8 5 [COLOR="red"]9[/COLOR] 3 That is, 3 + 7 + 4 + …

Member Avatar for iamthwee
0
134
Member Avatar for Jackie91

[CODE] #include <cstdlib> #include <conio.h> #include <fstream> #include <sys\stat.h> #include <string> #include <iostream> #include <iomanip> using namespace std; struct Student_Record { string name; int id; string ic; string parentName; string address; int telNum, parentTelNum; bool deleted; }; Student_Record Student; #define STUDENT_NAME "Student.txt" Student_Record Employee; char choice; fstream *fs = NULL, …

Member Avatar for ShadowScripter
0
85
Member Avatar for Anyzen

good day.. i am starting to learn..and experiment in namespaces just simple one... calling void functions..then print f.h [CODE]#include<iostream> #include<limits> namespace A { void f() { std::cout<< "Testing \"void f()\""; std::cout<<std::endl; } }[/CODE] f.cpp [CODE]#include "f.h" int main () { A::f(); std::cin.ignore(std::numeric_limits<std::streamsize>::max(),'\n'); std::cin.get(); } [/CODE] g.h [CODE]#include<iostream> #include<limits> namespace A …

Member Avatar for Anyzen
0
164
Member Avatar for Anyzen

Hello... In strings i learned how to sort about numbers... the question is, how does one sort letters? there are some sort in alphabet here in Daniweb but i cant understand its process is Letter A > than Z? is the computer using ascii values? isn't A(65)< Z(90)? if in …

Member Avatar for jonsca
0
86
Member Avatar for shortie05

#include<iostream> using namespace std; { int main() //declare variables char total amount = ' '; int rate = 0; double registrants = 0; //determine if registrant cout << "Are you a seminar registrant: (Y/N)"; cin >> registrant; registrant = toupper(registrant); if (registrant == 'R') { //determine rate cout << "what …

Member Avatar for gabryprof
0
88