Beginners - April 2016 (Page 15)

__asm equivalent for 64 bit?
 
Hi, I am trying to compile killtt (www.codeproject.com/Articles/11781/KillTT-No-More-Tooltips) for 64 bit Windows (since 32 bit version doesnt kill tooltips in ...
[2 replies] Last: killtt.cpp #include "Windows.h" #include "Shellapi.h" #include "comm... (by kosamja)
More efficient way of coding this?
 
Hello everyone! New here and starting to learn programming recently. I decided to start with C++ despite the difficulty / flexibility. Anyway, I went through ev...
[7 replies] Last: > Is it just to reduce confusion for the reader? Yes. > is there ac... (by JLBorges)
Help with suit symbols
 
I am a beginner C++ student making a basic card dealing program. I am using Microsoft Visual Studio to write my program. I have finished my assignment, but all ...
[2 replies] Last: > Does anyone have advice on how I can fix this? Consider restricting... (by JLBorges)
Area under a curve
 
Hi there, I'm trying to write a program to calculate and output area under the curve y = 0.6x^2 + 4 to 12 decimal places. I want the program to calculate ...
[2 replies] Last: Are the LL, UL, MP the same as the left sum, right sum and midpoint su... (by keskiverto)
Code freezing at a particular point
 
This should be an incredibly simple thing to do and I have no idea why I am stalling where I am. All I want to do is loop through every character in a string a...
[4 replies] Last: line 33 should be while((i <FirstLength)) (by vin)
having problem changing if else if to do while .
 
pleas can any one change this codes to "do while" statement thanks.. #include <iostream> using namespace std; int main() { char choice; double q...
[1 reply] : I can't, but I can point you to the direction to take a look at: http... (by chicofeo)
Local Function Definitions are illegal
 
Making a program to find the winner of a talent contest. In this contest the highest and lowest score are dropped then divided by 3 (the remaining scores) to fi...
[3 replies] Last: They are not new errors. Your code had them all along. The compilation... (by keskiverto)
Array Binning Problems
 
Hello, For a class I am having to make a simulation of a lab we have done. The problem I'm having is increment the value stored in each bin. It seems to ke...
[3 replies] Last: solved (by paintballer008)
by uteezy
Help.. Stuck on a section of my C++ coding
 
Hi, Please help! I am stuck at one point on my c++ coding. The program is to read monthly sales into a dynamically allocated array. Te program will input si...
[3 replies] Last: Thank both of you for your advise! Sorry for the mess. I was tryin... (by uteezy)
im trying to chang from if else if to while statement
 
I did this average project using the "if else if" statement is it possible to change from "if else if" to "while loop". #include <iostream> using namespa...
[3 replies] Last: thanks guys ... (by Upisaala)
Passing random numbers into a loop
 
Hey guys, wondering if someone can help me out here. Not that experienced with this yet! I'm trying to pass multiple sets of two random numbers to a function...
[1 reply] : but so far I can only pass one random set, it doesn't rerun the func... (by integralfx)
Menu Program Help
 
Hi guys! Ive been looking around the site for sometime while working on my programming assignments for class, and have finally run into an issue where I need so...
[8 replies] Last: Thank you so much for your help! I was able to finish the code and ad... (by sniperGirl5)
Simple Squares NOT using loops.
 
Hey guys I have to make a program to print squares and square roots of all numbers from 1-81 using functions only. Each line I have to print the number, it's sq...
[3 replies] Last: Ah yes! I do remember my professor saying that we have to use recursio... (by onehundredthugs)
help
 
I have a file attached with this 6 rows of information const int MAX_VAL = 53; const int NUM_NUMS = 6; const int MAX_ROWS =5 void quickPick(int row ; voi...
[no replies]
One Function for Output
 
Hello! I would like to know how to write one function for the output of the digits below. Would you be able to advise? Instead of copying and pasting each swit...
[2 replies] Last: @fun2code Thank you very much! (by cpunkymonkey)
Connect Four Game
 
Hi everyone, I am trying to implement Minimax with alpha-beta pruning method into my game "Connect Four" and also add scores to players and i have a hard time...
[no replies]
Difficulty making a loop with arrays
 
Hi, everyone! I have to do a program for my compsci class involving arrays. Basically what happens is the user creates an array by inputting six numbers. Then t...
[2 replies] Last: Thanks so much for your help, it's working now. Much appreciated! (by cutebabygirl)
Ifstream and getline, help.
 
Hey, getline seems to be reading the same line over and over again and only getting one word. ifstream file("file.dat"); if (file) { getline(file, name);...
[no replies]
Help assignment due tonight!
 
I'm having some trouble with pointers and dynamic memory allocation. When I try to compile this code I get several errors. It says that its an invalid conversi...
[1 reply] : On line 24 you are trying to store a pointer to function into an int v... (by keskiverto)
by BenW
Having trouble calculating + printing max/min values
 
Hi all, I'm trying to write a program that reads the data below from an input file, planetsinput.txt, computes the density for each planet and prints the ans...
[3 replies] Last: The ! takes a bool operand. Therefore, the k is implicitly converted f... (by keskiverto)
April 2016 Pages: 1... 1314151617... 43
  Archived months: [mar2016] [may2016]

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