Beginners - May 2013 (Page 37)

Function to count capital letters in string
 
I am trying to make a function that will tell me if any letters in a spring are capitalized. For simplicity, I just made it test for A. I have been trying diffe...
[3 replies] Last: @MiiNiPaa int countCapital(string custNames) { int capitalCou... (by vlad from moscow)
Quantitative Biology Program
 
So I need to write a c++ program that performs basic quantitative biology. We are supposed to have two separate files, a .h and .cpp file. I have written this...
[8 replies] Last: hey I made a mistake above, sorry: vector<string>& temp = dna ; ... (by closed account N85iE3v7)
THIS Begginners Skype Chat - BSC
 
there is something like a function - this (something with class pointers) Can i just simply avoid using it? I don't really like it,I don't know why :D...
[1 reply] : Normally you can avoid it unless you have a parameter that has the sam... (by Bourgond Aries)
Y/N question to trigger function.
 
I have this weird problem. It should be very simple. Let the user choose to save the n (number of rows and columns in a nxn matrix) and save the matrix A(nxn) ...
[3 replies] Last: ooh embarrassing! :D it was the , instead of the ; it did compile tho.... (by Markus3400)
I need help starting this program
 
Hello everybody! I am having trouble starting this program, once I can get started I usually can get it going and complete it. Please help! http://gyazo.com/...
[1 reply] : Hi. That will require you to read a bit about the basics of programmin... (by ngopza)
Linear algebra libraries
 
This is not a question, just a little comment from mine. I really hope cpp in the future will provide a standard library for matrix also, and not just vector...
[1 reply] : virtual ~vector(); I don't think it's ever going to happen: [quote=... (by Bourgond Aries)
error in int
 
when I initialize an integer as i=0123; it creates an error while execution in Dev C++.but if I write it as i=123,Its not an error.Any idea why it happens.
[2 replies] Last: thanx for the answer. (by Pter0dactyl)
AVL tree save file
 
#include <iostream> #include <fstream> #include <cctype> #include <stdlib.h> #include <conio.h> using namespace std; struct node { int element; ...
[19 replies] Last: yes it does, but it's plain wrong. if the height of left is 4 I'd be:... (by coder777)
8-Puzzle Solver unknown problem
 
Hi all , I am working on a 8-Puzzle Solver -using best-first search + Hamming distance (tiles out of place) heuristic- which was required from us as a pro...
[11 replies] Last: Finally, the program is running and solving all the solvable puzzles ... (by cire)
Count Games Played and Store Value !
 
I am trying to figure out how to implement a game count for file out put and am running into problems. Can you tell me how to get the number to be stored betwe...
[1 reply] : Static only works each time it is open ex: static int starts at 1 and ... (by giblit)
classes infile problem!!
 
I just learned classes for a short time. The problem I have commented below. #include <iostream> #include <fstream> using namespace std; class Circle{ ...
[1 reply] : it's happen that everytime you call readin(), the function declares a ... (by kradragon94)
Problems installing SFML 2.0 on Visual Studio 2012
 
I installed SFML after this http://www.youtube.com/watch?v=VcPRJE6Rt0o tutorial and the problem is that I'm getting this error "1>LINK : fatal error LNK1104: ca...
[2 replies] Last: FWIW: http://cplusplus.com/forum/beginner/95295/#msg511542 (by Disch)
by new2c
lottery game :how can I check user #, computer #, and user+comp # are duplicates?
 
I'm stuck on my lottery game. I got mostly everything to work but the part where the program checks if the user numbers and computer numbers have duplicates in ...
[no replies]
Need advice for my program
 
Hello all, I am trying to write a program that displays the user's input. Then, for it to calculate the input of how many positive and negative integers, the su...
[3 replies] Last: input to an array like this int array[ SIZE ]; for( int i = 0; i < ... (by giblit)
by Tstan
Program to decide what Tax Bracket your are in.
 
Trying to write a program in my class to display your tax bracket based off what your income is. When using this code it will only display return 33 as the answ...
[5 replies] Last: wait a sec...why are you returning a double? You would be MUCH more ac... (by giblit)
Help me understand pointers
 
Hello, I am having trouble grasping pointers, they seem really confusing. Could you explain it to me and then maybe show an exmaple or two. I heard pointers are...
[4 replies] Last: Thanks, I get it now (by Inficard)
Setting up Allegro for Codeblocks
 
Can someone help me setup allegro on codeblocks, I have not been able to find anything helpful.
[no replies]
Pointer to Structures & Arrays
 
I have been reviewing over this issue for the last 24 hours. I'm fairly new to C++ and, unfamiliar with pointers. I have read over the basics of pointers and ho...
[5 replies] Last: Thank you for your response. I figured it later, but I still checked m... (by devroad)
how to output to a .txt file
 
Hie, Here is my code. I am having trouble placing the ofstream in the following location where i want to display the message on a text file "one of the tickets ...
[1 reply] : Instead of using cout, you just need to use your file stream. (by Zhuge)
Help with Problem?
 
Prompt: Submit a program that uses randomness and the orthographic rules of any natural language to generate memorizable passwords. These passwords are gibberis...
[10 replies] Last: Plus, you could do this to make it faster: #include <iostream> #i... (by SourceCoded)
May 2013 Pages: 1... 3536373839... 66
  Archived months: [apr2013] [jun2013]

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