Beginners (Page 6)

Modular GCD problem of codechef
 
Given integers A, B and N, you should calculate the GCD of A^N+B^N and |A−B|. (Assume that GCD(0,a...
[1 reply] : Double post: http://www.cplusplus.com/forum/general/ (by Thomas1965)
Error - attempting to reference a deleted function
 
I have an error related to class - I am using Visual studio - It is saying the class was deleted but...
[6 replies] Last: Hello, The problem is resolved now and the algorithm is back running ... (by tghatem)
by AL88
Why is this returning 0 and not 30
 
Hi please explain why this is not returning 30 thanks #include<iostream> signed long Perimeter...
[3 replies] Last: Do you want a hand hold or a hint? Here's a hint first... Inside of yo... (by Karakuik)
the location of the maximum sum in a column
 
I need to add the columns and print which column had the maximum sum and the sum of that column. ...
[5 replies] Last: Here is C version with 1-based indexing shown to user #include <stdio... (by icy1)
Storing random values in array
 
I want to store my values in myArray but when I print out my array ı get some numbers like -8453186...
[3 replies] Last: for (int i = 0; i <= getN2(); i++) What is getN2() it should be i ... (by Manga)
by ysf007
How to loop over pairs and odds in the same loop?
 
Hey, I question comes in mind is there any option to write a loop (for, while, do while) that al...
[19 replies] Last: @lastchance I smell a bit of recursion in that one... nice. :) Just ... (by Manga)
by DTM256
Ws2_32.lib is not on my system
 
Hey guys, Both my work computer and home computer just doesn't have the Ws2_32.lib library. I've ...
[4 replies] Last: ... I'll looking to downloading Visual Studios If you do decide to g... (by FurryGuy)
Using one one class' integer in a other class
 
I am trying to use one Class in a other one but it shows me an error code: E0077 First Class: cl...
[2 replies] Last: C++11 did add brace initialization: http://www.informit.com/articles/a... (by keskiverto)
what is the "standard" practice for template definition location
 
I just figured out the hard way that I can't just put my template definitions in .cpp file as I woul...
[6 replies] Last: The build process right now looks roughly like this: (Per file ) 1. ... (by helios)
Trouble with double spacing any input text file
 
Hi everyone, I'm writing a program which will double space any given input text file. My code bel...
[5 replies] Last: #include <iostream> #include <string> #include <vector> #include <fst... (by JLBorges)
Problem with reading and printing from a text file
 
Hi everyone, I'm trying to read in a file with Microsoft Visual C++ 2010 and print it. The problem ...
[3 replies] Last: Happy to help, thanks! (by Ganado)
Why aren't the doubles enabling their 14 point precision?
 
Write your question here. So, the purpose of my code is to not only print which numbers are bigger ...
[10 replies] Last: Very handsome, have big penis, very big. (by DefinitelyNotPalpatine)
Codechef Users here will be Banned
 
This is Anoop Singh from Codechef, You all are cheating and not following the Codechef code of co...
[4 replies] Last: My guess is codechefadmin is a regular user here that just got sick of... (by Ganado)
by SammyB
Averaging numbers in text file array
 
I am trying to get an output with averaging the numbers in a text file, but I keep getting a value o...
[4 replies] Last: Hello SammyB, Looking over the program I noticed some problems. In t... (by Handy Andy)
additional Conditional Operations help
 
You create three string variables you assign values to when you create them. You then create 3 int...
[2 replies] Last: Kgerm003, in the future, please don't delete the original question. Th... (by dhayden)
Reading date from file separated by 2 posible delims.
 
Hey, what is the best way to handle obtaining int array from file like this: 1,0.2,3,4 2,4,6,8.24...
[5 replies] Last: If you have unix utilities, you can preprocess the file to convert . t... (by dhayden)
Getting just value from function
 
so I have a function that is returning a value (the input from a user) but when I am calling this fu...
[3 replies] Last: Call get_target() just once and store the result in a variable. strin... (by dhayden)
by Ch1156
Using private variable from class without getters and setters (1,2)
 
I am trying to practice more on using classes and I have created a banking program but I need to sav...
[30 replies] Last: You could use this site. Just look for posts that describe the whole ... (by dhayden)
Web Form
 
How to write a web form in c++ cgi?
[2 replies] Last: Hello ahmadlimantawa, Welcome to the forum. If I understand your que... (by Handy Andy)
Modular GCD problem of codechef
 
Have anyone got 100 pts in Modular GCD problem of Codechef. please Help to get 100 in it. link to ...
[no replies]
Pages: 1... 45678... 26
  Archived months: [jun2018]

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