How to generate a random array of integers subject to a certain constraint
I am writing a program that asks the user to enter an integer N and then generates a random array of
output printing as hexadecmal... XD
Everything works except the calcem call for the totusold and totuprice. The out put shows up as hex.
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 fol
Lining up columns nicely.
Hello everyone, I'm having problems with making columns line up properly. Here is my code:
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.
Wr
Multi dimensional arrays
If I put in this code:
1
2
3
4
5
6
7
8
9
10
11
12
13<
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
Libraries in C++
Hi all,
I have two libraries. one is based targeted on linux platform and uses another li
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 s
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 re
Converting numbers to months
The porgram works -just need the last function(month_convert_ to convert numbers to months -thanks.
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 poin
constructor ?
i have written this program and made 3 constructors in the class and i want to call them in the main
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 understa
how to get sn motherboard
Hello.
I want to get serial number motherboard, cpu and else hardware.
Can You show me sam
Big O & time complexity ???
can you help me how to calculate the Big O & time complexity for any algorithm and c++ program pleas
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
The repetition structure: the while statement not working
New programming student, have assignment as follows:
A restaurant has 4 lunch combos for custom
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
pointer 102 question
I read a book
1
2
3
4
5
6
7
8
9
10
11
12
int main()
{