Beginners - August 2014 (Page 32)

Related to UML diagrams
 
Hello! I'm sorry to disturb you guys but I've stuck on this please help me on this one. Question is that; Suppose there are two software companies and ...
[2 replies] Last: This is a badly posed question; the answer is obvious. Documenting the... (by Josue Molina)
by brekki
Creating a program that ignores string input/reprompts user for correct input
 
I'm very new to C++ and am working on writing an extremely simple calculator program that takes two doubles and one of the four mathematical operators as input ...
[4 replies] Last: Templates are pretty simple, you could watch a 3 minute youtube video ... (by DomBavetta)
save variables
 
Hi everybody, how can I save a struct data in a file in a specific directory. I defined a struct like this: typedef struct { unsigned short ...
[1 reply] : It sounds like you want to write the information to a file before clos... (by PrivateRyan)
Displaying only certain values in a loop
 
I've been writing a program that calculates the natural logarithm of 2 for the user. It prompts for the number of terms to calculate, and how many steps in betw...
[2 replies] Last: I'm having trouble getting the right output, tried both methods and it... (by tmcrdy11)
Error 1 error C2373: 'strange' : redefinition; different type modifiers
 
I am having trouble with debugging this program, it keeps saying that 'strange' is unresolved external, and i dont understand what that means. #include "std...
[3 replies] Last: one more thing... int strange (int x, int y);// <-- remove semicolo... (by wildblue)
by danzal
Error for my project
 
i got 2 errors 1>c:\users\y410p\desktop\c++ programs\chapter 3\chapter 8\asds\project eye\fulllogin.cpp(71): error C2276: '!' : illegal operation on bound me...
[4 replies] Last: VIEWPATIENTSRECORD ends at line 126. Then you have a bunch of code at... (by AbstractionAnon)
SOCKADDR_IN data type conversion
 
Im using sockets, but I have a problem entering the IP adress. I want to enter an IP adress by number. gethostbyname("www.website.com") does not solve it, I nee...
[2 replies] Last: Hmm, I used what you did but now im getting complicated errors.. lemme... (by user123)
Displaying jpeg image in c++ through win32 API
 
How to dispay jpeg image in c++ through win32 API I've been surfing and scouring on the internet but nothing shows me correct path to get started I can displa...
[1 reply] : You can use Gdi + functions to convert the image: http://msdn.microso... (by coder777)
Printing vectors stored in another vector
 
I have a base class "Employee" that has two child classes "Manager" and "Salesperson". In the Employee class I have a method called addSalesperon( Salesperson ...
[3 replies] Last: Your design is really confusing. Why do you have a staff_list in Emplo... (by Nikko YL)
Fibonnaci Numbers in C++
 
Hi, how can display fibonacci numbers example is "2 2 4 6 8". user will enter starting number is "2" then number of sequence is "5" #include <iostream> ...
[2 replies] Last: f n = f n-1 + f n-2 Therefore f 0 is congruent with f 1 Which m... (by giblit)
compiler question
 
I just started writing C++ and I'm wondering if there will be much difference between compilers or do they all essentially function the same. I have to do proje...
[1 reply] : Neither Orwell nor Eclipse are compilers, they are IDEs. They both us... (by Disch)
help me. program dont work
 
i tried but its not working. help me #include<iostream.h> #include<math.h> #include<conio.h> #include<stdio.h> #include<string.h>//is this neccesory int main()...
[3 replies] Last: First off, I'd like to say, definitely a fan of the use of goto. I lov... (by Nohj)
[noob]undefined reference to error
 
I have been looking up on this one for long, but I couldn't solve it. What I have been trying to do is to "split" my source files into .h and .cpp files as con...
[11 replies] Last: Yes! You were right! I did have those in the global compiler settings,... (by CPlahPlahLearner)
binary fstream read/write - string issues?
 
Hello again code monkeys, code lemurs, and coders of all species. My training has once again brought me to beg for help as I cannot see the flaw of my ways. ...
[6 replies] Last: Seeing you list those file types makes much more sense as to what a bi... (by Bad Reg)
Help with result of a function
 
I just starting writing codes and I'm having a problem getting results from functions. I have this function here I wish to return 3*(x/y);(which is 3*(8.2/3) re...
[3 replies] Last: the function outputs an integer: int fee(double x, int y) // ^ //... (by Disch)
by wharp2
Random number generator.
 
I was asked to display two hand of five cards with random cards in each using an array and a 2D array. My problum right now is geting the random genorater to w...
[2 replies] Last: My problum right now is geting the random genorater to work. What's... (by xismn)
by wharp2
Random number generator.
 
I was asked to display two hand of five cards with random cards in each using an array and a 2D array. My problum right now is geting the random genorater to w...
[2 replies] Last: Have you even tried to compile this? You have a number of compile err... (by AbstractionAnon)
by wharp2
making functions work together
 
so I was told to do the following: Reproduce the function isValidInt to validate the format for an integer which has been entered using the keyboard. Test you...
[13 replies] Last: I first need to make "isvaliddouble".... right? Yes. ... (by AbstractionAnon)
Help please!
 
I'm beginner and I don't know what is wrong with my code, please help me to solve this problem #include "stdafx.h" #include <iostream> using namespa...
[4 replies] Last: I solved a problem, thank you guys so much :D (by Sajko91)
How do I go about doing this?
 
I'm taking a class right now on C++ and I don't understand the next assignment. I don't know how to begin it, and I'm not sure what I'm not understanding. Here...
[no replies]
August 2014 Pages: 1... 3031323334... 40
  Archived months: [jul2014] [sep2014]

This is an archived page. To post a new message, go to the current page.