Beginners (Page 66)

Newton-Raphson method with approximate derivative
 
I have written the following code for the Newton Raphson method, which takes as input two function p...
[7 replies] Last: Oooops! Sorry, how silly of me! Thanks, integralfix. Now it works perf... (by Claudius7)
Template and dynamic allocation
 
Hi. I've got an assignment today, and I'm having trouble with doing it... The assignment is.. ...
[4 replies] Last: Thank you!! I passed. (by wasteproduct)
by rantiv
Vectors
 
I need to get rid of the space after it outputs the last weight. #include <iostream> #inclu...
[2 replies] Last: Got it! Thanks! (by rantiv)
Defining chars as more than one option (Uppercase vs Lowervase)
 
Hey programmers, I'm new to C++ and I'm trying to make a basic roulette program. In the instructions...
[7 replies] Last: Its funny how people all over the world start with similar things haha... (by katapult)
help with project 2
 
In this project we are going to be expanding the into the rest of the ways to structure our programs...
[no replies]
How would I pass by reference?
 
I believe I passed by value instead of reference. #include <iostream> using namespace std; ...
[4 replies] Last: im dumb tdog: start your own thread and state there what is your pro... (by gunnerfunner)
why we write int in hello world
 
in the typical hello world program why do we write int? int main() { std::cout << "Hell...
[8 replies] Last: @TheldeasMan Really? Thanks for the correction! (by ufrnkiddo)
help with an encryption/decryption program.
 
i keep getting the errors .\encrypt.cpp(5): error C2447: '{': missing function header (old-style ...
[2 replies] Last: I have corrected the errors but I am not getting any output. #includ... (by mayukhC)
operations and operators
 
Hi cplusplus, I am a complete beginner with no coding experience and using bjane (the creators) boo...
[4 replies] Last: I'm not exactly sure what you are asking but I hope this helps. In you... (by joe864864)
c program please correct the below code
 
c program please correct the below code. #include<stdio.h> #include<conio.h> void main() { int ...
[6 replies] Last: printf("\nt\Matrix Manipulation"); this is not correct. you need pr... (by jonnin)
Pointers and logic trouble
 
Hello everyone. Let's just move on my problem. Here's the code: #include <iostream> using names...
[2 replies] Last: you can change how much stack you have on a lot of systems/compilers a... (by jonnin)
Memory leak/dynamic allocation of memory.
 
Do i have to "delete" the pointer I declared in the function **ptr_fj? #include<iostream> #incl...
[2 replies] Last: great thx a lot :D (by spax1111111)
char handeling...
 
So I was working on some kind function that can make a sentente into lot a word array. It compile fi...
[4 replies] Last: My code presume: 1 – you are not trying to write your own version of... (by Enoizat)
adding integers
 
when you add numbers, for example int a=5 int b=6 you also say int sum = a+b but why do yo...
[5 replies] Last: there are a dozen types of integer as well (many redundant). say you... (by jonnin)
struct
 
Hello everyone! I have a question regarding the structure definition below: struct elem {int in...
[2 replies] Last: When declaring a pointer you don't need the full struct definition. It... (by Peter87)
populating array from while loop
 
hi, how can I populate a given array from while loop. and print out to screen? unsi...
[2 replies] Last: nice one! i forgot the for loop. :-) thanks again! (by csecs21)
by ggwp
c++ to pseudocode
 
Hi friends. Can anyone please help me to convert this coding into a pseudocode. I'm having trouble t...
[2 replies] Last: Can anyone please help me to convert this coding into a pseudocode. ... (by TheIdeasMan)
by tit0n
Infix to Prefix
 
if I take this expression -> (1+((2+3)∗(4∗5))) it converts to this -> +**54+321 Any...
[1 reply] : Not really fancy but it works at least for the most parts. #include <... (by Mantorr22)
Newton's method
 
The goal is to use Newton's method in order find the zero of a function. So in the end I want my pro...
[3 replies] Last: You should start slowly. First of all, test your function and its der... (by lastchance)
If Else and Assigning Values
 
I am trying to solve the below problem and was wondering if there was a way to assign a range for th...
[1 reply] : $0.08 for each check if you write between 20-39 checks int wchec... (by kemort)
Pages: 1... 6465666768
  Archived months: [feb2017]

Cannot post in this page. To post a new message, go to the first page.