Beginners - November 2011 (Page 28)

This makes no sense at all to me
 
I can see no syntactical or logical errors. Everything compiles fine. The problem? My evaluate function won't evaluate any commands, except for "exit" which ex...
[2 replies] Last: Aha! Much appreciated. (by AndroidZ)
by moot1
encypt
 
how in this program can i make it encrypt all words you enter not just 1 #include <iostream> #include <cstring> #include <string> using namespace std; int mai...
[7 replies] Last: It replaces the code inside your for loop. (by closed account D80DSL3A)
Best way to pass values.
 
well, I'm back again, lol. I've been playing with Qt trying to learn som Gui programming. It's going alright, but I'm at a road block. I know this probably come...
[1 reply] : In your "on click" event handler, you can either send a signal to the ... (by Duthomhas)
by Jarr10
Jumping Number sequence
 
I need help with a program. I need to determine for a given element in the sequence the number of steps necessary for the element to become the leading ele...
[2 replies] Last: What do you mean by "leading element" and "jumping number"? Are you ta... (by Duthomhas)
by dean
Allocating an array of pointer??
 
Hi, just a checking question, I'd like to allocate an array of pointers, as you would do in C with: Node** a = calloc(n, sizeof(Node*)); using the new oper...
[8 replies] Last: Dean, I am pretty green but I actually tested what I said. Now, I am... (by IceThatJaw)
Determine Lowest Number
 
I am working on an assignment that is asking me to determine the smallest number. Since we have not learned about arrays, this will have to be resolved with if ...
[2 replies] Last: do like this int min=1000000; for (int i=0; i<5; i++) { int z; cin >... (by Meirambek Zhaparov)
by Yezman
Caesar Cipher program finished, but need help with bugs. (1,2)
 
Reads in text file. Ex- >2D or >23D or <-2D or >2D+4G. The > and < move the shift value up depending on the follow letter. The +/- add or subtract the following...
[26 replies] Last: Ok I got that issue, but I have been stuck on this problem all day. ... (by Yezman)
memory block copy error
 
Why does visual studio refuse to execute this function? I thought this was how memory blocks were copied? Additional notes: I'm working on the gba and I h...
[2 replies] Last: It's C++, not C (determined by the use of std ). Use the new casting ... (by closed account zb0S216C)
why getline() only outputs newline
 
Hi, I have a file called "seq.txt" which just includes one line of protein sequence with a newline character at end. It's like: MISLIAALAVDRV I wrote a pr...
[2 replies] Last: Getline will read everything until it hits a newline or a delimiter if... (by IceThatJaw)
scope issues
 
I want line 152 of intstack.cpp to be possible without restructuring my entire program. Is there a way to do this? intstack.h #pragma once #include <std...
[4 replies] Last: Thanks. It still doesn't output the cout though, and the "command" co... (by AndroidZ)
Help with string check and if statements
 
So i have been here for hours trying to figure out why this code won't work properly. I'm basically trying to make the program accept a certain ID and password....
[2 replies] Last: I am actually really green too (been coding seriously for about 8 mont... (by IceThatJaw)
How do you get the concept of coding by using Codeblocks?
 
I have been using codeblocks for 3 months now & I still don't understand the concept of writing source code. I have acquired the codeblocks learning disc throug...
[2 replies] Last: That's like asking "Hey, I've learned every scale and chord in my pian... (by cnoeval)
I/O with lines of a file
 
I'm making a ballet for my gov. teacher and I need to know how to get independent lines from a text file as variables because I want my program to be able to be...
[17 replies] Last: wow! cool that helped! it works perfectly now. I appreciate your ti... (by IWishIKnew)
nested loop for begginers like me
 
I'm trying to make this program loop until the customer decides that they're finished I have one small problem in my code but I can't figure it out what am i ...
[3 replies] Last: finally got it to work Thank You everybody #include <iostream> usin... (by jason007thomas)
Program Help.
 
Can someone please tell me why this doesn't work? #include<iostream> #include<ios> #include<algorithm> #include<vector> #include<string> #include<iomanip...
[3 replies] Last: Replace double y; with int y = 0; (by shacktar)
CPP error "expected unqualified-id before ‘{’ token"
 
My task was to write a program that asks the user for 5 percent grades (storing them in the marks array), and then calculates the student's final mark using th...
[4 replies] Last: for (k=0; k<4; k++) { total = float marks * float weights ; } ¿w... (by ne555)
question about linux time command??
 
ok so im running the time command on linux like this i try is many different ways i already compile it time sortselection.cpp <twolist -bash: sortselection....
[4 replies] Last: omg thanks it work i appreciate it (by Natalia Foster)
Unhandled exception (simple insertion sort func)
 
void insert_sort(int a , int size) { int index, position; for(index = 1; size - 1; index++) { position = index; int key = a ; while(position ...
[2 replies] Last: Can you tell I was having a bad morning? I came back and looked at it... (by jjmounes)
Array Help
 
So this program is suppose to use arrays to get the inventory of four different sizes from seven differnt colleges. Then display the totals in 9 different ways....
[no replies]
Reference
 
Hi can anyone help Bigint:: operator+(const Bigint& b) const what exactly does the above declaration mean? I am confused becasue i thought the & meant p...
[2 replies] Last: I get you. So im pasing the actual parameter but it cannot not be modi... (by Ramzi89)
November 2011 Pages: 1... 2627282930... 65
  Archived months: [oct2011] [dec2011]

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