Forums Page 80
-
output printing as hexadecmal... XD
Everything works except the calcem call for the totusold and totuprice. The out put shows up as hex. Im not positive but i think i might have to use…
-
Any meaningful project for a new C++ programmer?
I want to do some meaningful program, so I can help myself to learn Assume I know the following # Chapter 1: C++ Fundamentals This module will…
-
Lining up columns nicely.
Hello everyone, I'm having problems with making columns line up properly. Here is my code: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22…
-
read integers that returns a negative or prints the average
Im trying to finish this homework assignment by tommarow afternoon and I keep getting stuck. Write a Function that reads integers from the keyboard…
-
Multi dimensional arrays
If I put in this code: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 #include <iostream> using namespace std; int place[10][10] =…
-
function not returning the correct value
I have a program that needs to return a value from a function. I have an output statement inside the function just to see what the output is, and it…
- Advertisement
-
Libraries in C++
Hi all, I have two libraries. one is based targeted on linux platform and uses another library which is windows based by default. By following the…
-
Check Digits and extracting digits
I think I can figure out the code for this but I am having a very hard time getting past the first step. Any suggestions are greatly appreciated…
-
Using loop to count number of entries
I'm writing a program that must ask user to type in numbers. After each entry, the program has to report the cumulative sum of the entries to date…
-
Converting numbers to months
The porgram works -just need the last function(month_convert_ to convert numbers to months -thanks. #include<iostream> #include<string>…
-
problem in program for counting no of chars using pointers
Hi all, I was trying to make a program which counts number of chars in a string using concpt of pointers. Following is the code: #include<stdio.h>…
-
constructor ?
i have written this program and made 3 constructors in the class and i want to call them in the main and i cant can any one help me and tell me how…
-
Why will this program not run if the variables are not global?
Hey guys I have a kind of perplexing situation that is probably simple, but I can't seem to understand something. I have this code here that is…
-
how to get sn motherboard
Hello. I want to get serial number motherboard, cpu and else hardware. Can You show me samples. I edit post ;-)
- Advertisement
-
Big O & time complexity ???
can you help me how to calculate the Big O & time complexity for any algorithm and c++ program please?
-
Taylor Series Function
So I am working a a project for my intro C++ class, and I am having some trouble with a function for approximating exp(x) using a taylor series. The…
-
The repetition structure: the while statement not working
New programming student, have assignment as follows: A restaurant has 4 lunch combos for customers to choose: Combo A : Fried chicken with slaw…
-
Bit manipulation program with binary operations
My homework is to create a program to scan in and add binary numbers and print them like so Enter a binary number: 1 sum = 1 decimal 1 hex and…
-
pointer 102 question
I read a book 1 2 3 4 5 6 7 8 9 10 11 12 int main() { int i; f(&i); cout << i; return 0; void f(int *j) { *j = 100; } } I don't understand why f(&i)…
-
issues verifying if user is logged in
I am having issues when a user logs in via asp Login control, the IsAuthenticated still seems to come up false... ( yes the username and password is…