C++ programming Definition and 93 Threads
-
Programming in C++ with Prof. Partha Das (NPTEL):- Lecture 48: Type casting and cast operators Part II
Copyright reserved to Prof. Partha Pratim Das and NPTEL, Govt. of India. Course website: http://www.nptel.ac.in/syllabus/syllabus.php?subjectId=106105151 Course Lectures: http://www.nptel.ac.in/courses/106105151/1- Wrichik Basu
- Media item
- c++ programming
- Comments: 0
- Category: Computing
-
Programming in C++ with Prof. Partha Das (NPTEL):- Lecture 49: Type casting and cast operators Part III
Copyright reserved to Prof. Partha Pratim Das and NPTEL, Govt. of India. Course website: http://www.nptel.ac.in/syllabus/syllabus.php?subjectId=106105151 Course Lectures: http://www.nptel.ac.in/courses/106105151/1- Wrichik Basu
- Media item
- c++ programming
- Comments: 0
- Category: Computing
-
Programming in C++ with Prof. Partha Das (NPTEL):- Lecture 50: Multiple Inheritance
Copyright reserved to Prof. Partha Pratim Das and NPTEL, Govt. of India. Course website: http://www.nptel.ac.in/syllabus/syllabus.php?subjectId=106105151 Course Lectures: http://www.nptel.ac.in/courses/106105151/1- Wrichik Basu
- Media item
- c++ programming
- Comments: 0
- Category: Computing
-
Programming in C++ with Prof. Partha Das (NPTEL):- Lecture 51: Multiple Inheritance (Contd.)
Copyright reserved to Prof. Partha Pratim Das and NPTEL, Govt. of India. Course website: http://www.nptel.ac.in/syllabus/syllabus.php?subjectId=106105151 Course Lectures: http://www.nptel.ac.in/courses/106105151/1- Wrichik Basu
- Media item
- c++ programming
- Comments: 0
- Category: Computing
-
Programming in C++ with Prof. Partha Das (NPTEL):- Lecture 52: Exceptions (Error Handling in C) Part I
Copyright reserved to Prof. Partha Pratim Das and NPTEL, Govt. of India. Course website: http://www.nptel.ac.in/syllabus/syllabus.php?subjectId=106105151 Course Lectures: http://www.nptel.ac.in/courses/106105151/1- Wrichik Basu
- Media item
- c++ programming
- Comments: 0
- Category: Computing
-
Programming in C++ with Prof. Partha Das (NPTEL):- Lecture 53: Exceptions (Error Handling in C) Part II
Copyright reserved to Prof. Partha Pratim Das and NPTEL, Govt. of India. Course website: http://www.nptel.ac.in/syllabus/syllabus.php?subjectId=106105151 Course Lectures: http://www.nptel.ac.in/courses/106105151/1- Wrichik Basu
- Media item
- c++ programming
- Comments: 0
- Category: Computing
-
Programming in C++ with Prof. Partha Das (NPTEL):- Lecture 54: Template (Function Template) Part I
Copyright reserved to Prof. Partha Pratim Das and NPTEL, Govt. of India. Course website: http://www.nptel.ac.in/syllabus/syllabus.php?subjectId=106105151 Course Lectures: http://www.nptel.ac.in/courses/106105151/1- Wrichik Basu
- Media item
- c++ programming
- Comments: 0
- Category: Computing
-
Programming in C++ with Prof. Partha Das (NPTEL):- Lecture 55: Template (Function Template) Part II
Copyright reserved to Prof. Partha Pratim Das and NPTEL, Govt. of India. Course website: http://www.nptel.ac.in/syllabus/syllabus.php?subjectId=106105151 Course Lectures: http://www.nptel.ac.in/courses/106105151/1- Wrichik Basu
- Media item
- c++ programming
- Comments: 0
- Category: Computing
-
Programming in C++ with Prof. Partha Das (NPTEL):- Lecture 56: Closing Comments
Copyright reserved to Prof. Partha Pratim Das and NPTEL, Govt. of India. Course website: http://www.nptel.ac.in/syllabus/syllabus.php?subjectId=106105151 Course Lectures: http://www.nptel.ac.in/courses/106105151/1- Wrichik Basu
- Media item
- c++ programming
- Comments: 0
- Category: Computing
-
C/C++ Need Help with Monte Carlo Algorithms in C++?
I would like to discuss code for hit and miss monte carlo methods, and also monte carlo with veto algorithm in C++. Since I am coding in C++ after a long time, I am messed up with syntax too. I have a specific set of problems to work with. If interested we can start working on it here.- Chromatic_Universe
- Thread
- Algorithms C++ C++ programming Monte carlo
- Replies: 10
- Forum: Programming and Computer Science
-
M
Library that supports multidimensional Arrays
I'm am looking for a C++ library that supports high-dimensional arrays ( 3=< ) and element-wise calculations. Is there such a thing?- madsmh
- Thread
- Arrays C++ programming Multidimensional
- Replies: 11
- Forum: Programming and Computer Science
-
C/C++ Creating a simple password program in C++
So I'm trying to teach myself C++ programming and I'm having trouble writing a password program. Essentially I want to program to ask the user to input a password, and then compare that input with the correct password. If the user input matches the password I want the program to output a message...- The_Inventor
- Thread
- C++ C++ programming Coding Computer science Program Programming
- Replies: 14
- Forum: Programming and Computer Science
-
N
Why the data does not print out with eclipse in unbuntu?
Dear group, I am using Eclipse in the Ubuntu operation system and trying to print out this data from the begin to the string "END OF HEADER" but I do not understand why it did not give me the one as I expected. I also used this file "albe0320_1.17n" to test and it worked, but the file that I...- Nate Duong
- Thread
- C++ programming Data Eclipse
- Replies: 8
- Forum: Programming and Computer Science
-
C/C++ Optimize C++ to use for computational physics?
Hi I'm studying 2nd year for a bachelor's degree in physics and I'm interested in programming (Beginner C++ programmer). I have already done simulations like harmonic motions, Ising model etc but I know this can go further and I need help with that. I use Ubuntu for programming with c++. (GCC...- AHashemi
- Thread
- C++ C++ programming Computational Computational physics Physics
- Replies: 17
- Forum: Programming and Computer Science
-
N
C/C++ How to get data from text file in C++?
Hi Group, I am trying to get data from text file, I hope someone can suggest me how to do? I also have this code which can read data, but i do not know how to scan every single line to get any information I want. Please help, Thank you very much. Here is my code: #include <iostream>...- Nate Duong
- Thread
- C++ programming Computer engieering Data File Text
- Replies: 6
- Forum: Programming and Computer Science
-
N
C/C++ How to read a list of USB from C++ in ubuntu OS?
I am trying to use C++ (eclipse in Ubuntu OS) to read USB connection. Usually, on the terminal window, I can use command "lsusb" to see the list. Now, I want to do the same way with C++. can anyone help? Thank you very much.- Nate Duong
- Thread
- C programming C++ C++ programming List Os Ubuntu Usb
- Replies: 3
- Forum: Programming and Computer Science
-
Comp Sci Difference between two dates C++
Homework Statement I am trying to solve a problem that asks me to give the total days between two dates. I have to take care of the some matters between those two dates such as leap years and the way of inputting the years by the users. (For example, if you input 1 and 17, the code will still...- Hughng
- Thread
- C++ C++ programming Difference
- Replies: 7
- Forum: Engineering and Comp Sci Homework Help
-
Comp Sci Unmash a string in C++ using recursion
Homework Statement MUST USE RECURSION TO SOLVE THESE PARTS. Part A: Have a user input a string. Then display this string smashed up as follows: display the first character in the string, then the last, then the second, then the second to last, then the third... So if the string is “abcdef”, it...- Hughng
- Thread
- C++ C++ programming Recursion String
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
C/C++ Question about learning C++ Linked Lists before Stacks....
i wanted to ask you that in c++it is important we should learn linked list before learning stack,queue that i wanted to know while studying data structures- sukalp
- Thread
- C++ C++ programming Java Python Rubber band
- Replies: 6
- Forum: Programming and Computer Science
-
Environment understanding problem
well i wanted to ask you what is cmd,jdk,. why do we need to install jdk in java why not directly we cannot install ide of java directly like we download codeblock for c++ directly but in java we download jdk then we download net beans environment confusing- sukalp
- Thread
- C++ programming Ruby
- Replies: 2
- Forum: Programming and Computer Science
-
Engineering Are There Co-op Jobs for High School Students in Computer Engineering?
I wanted to ask you when we finish high school and go to university for studying bachelor of technology in computer science are there jobs that high school students do regarding programming with companies through programming they have learn in ap courses in grade 12 that i wanted to know- sukalp
- Thread
- C++ programming Computer Computer engineering Engineering Ruby
- Replies: 4
- Forum: STEM Career Guidance
-
C/C++ C++ Stack and Queue Tutorial for Beginners
is there any tutorial which covers stack and queue in c++. i am not able to understand it is getting difficult for me .- sukalp
- Thread
- C language C++ C++ programming Tutorial
- Replies: 10
- Forum: Programming and Computer Science
-
C/C++ Introduction to Data Structures in C++
In C++ we have 2 types of data structures :- 1)simple data structure so array and structure come in simple data structure group 2)compound data structure so stack,queue,link list,tree come in compound data structure group. In Indian board CBSE data structure linked list is not included it is...- sukalp
- Thread
- C++ programming Data For loops Loop analysis Structure
- Replies: 1
- Forum: Programming and Computer Science
-
C/C++ Studying C++ programming topics
I wanted to know in c++ when we learn advance c++ like class,constructors,inheritance,data file handling we should know how to implement a class ? in c++ before studying these topics?- sukalp
- Thread
- C++ C++ programming Programming Topics
- Replies: 8
- Forum: Programming and Computer Science
-
MATLAB How to Convert Matlab Gaussian Cone Code to C++?
anyone help me to convert this sample code of Gaussian Cone shape of random number code in Matlab into C++ function GaussianCone clear all; clc; mx=10000; my=mx; mz=mx; z=[1:1:mz]'; sigma=0.01; R=0.5; mu=0; sigmax=sigma+R*z; sigmay=sigma+R*z; x=zeros(mx,1)...- MAKK
- Thread
- C++ programming Code Matlab Matlab code Matlab programming Programming c++
- Replies: 3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
How to obtain a function from gsl library integration?
I am having some problems to use the gsl library. I do the integration via monte carlo and I have obtained the right result, but a need to know how to use this result when I have a dependence on another variable. For example, f(x,y)=x*y, but the integration is only on x. Because I want to...- Fabio Kopp
- Thread
- C++ programming Function Integration
- Replies: 1
- Forum: Programming and Computer Science
-
I
C/C++ How can we print odd numbers up to 99 using nested for loops in C++?
I have my final exam for C++ tomorrow. I was studying a previous exam and I came across a certain problem that I would like to know how to do. Suppose that we want to print out the following on the screen, please complete the code segment below by filling in the blanks 1 1 3 1 3 5 ... ... 1 3 5...- ineedhelpnow
- Thread
- C++ C++ programming Programming
- Replies: 7
- Forum: Programming and Computer Science
-
P
C/C++ C++ Programming Problem: Adding Streams to a Pre-Existing Code
I have been given a project to modify my pre-existing code to satisfy these guidelines: - Create a file called "sides.txt" and put it in the same folder as your program. - The file contains multiple lines with each line having the three sides, separated by white spaces, e.g., 3 4 5 6 8 10 5...- PleaseHelp
- Thread
- C++ C++ programming Code Programming
- Replies: 2
- Forum: Programming and Computer Science
-
I
C/C++ How can a C++ function return two values to the caller without using a class?
I was given this problem a while ago to complete as a bonus but I wasn't able to do it. I just came across it and would like to know how it should be done. Given an integer vector "vi" that is already sorted in ascending order (all elements of the vector are positive), write a function that...- ineedhelpnow
- Thread
- C++ C++ programming Programming
- Replies: 3
- Forum: Programming and Computer Science
-
S
C/C++ C++ programming on prime numbers
this is the program which i wrote: #include<iostream.h> #include<conio.h> #include<stdlib.h> void prime(int p) { if(p==0||p==1) { cout<<"neither prime nor composite"<<endl; getch(); exit(1); } for(int i=2;i<p/2;i++) { if(p%i==0) { cout<<"composite"<<endl; break; } else...- smart_worker
- Thread
- C++ C++ programming Numbers Prime Prime numbers Programming
- Replies: 8
- Forum: Programming and Computer Science
-
A
C/C++ How to Handle an Infinite Loop in C/C++ Code?
Hello there! I typed this code and saved it as a .c file #include<stdio.h> #include<stdlib.h> #include<conio.h> int main() { int a; while(1) { if (kbhit()) { system("cls"); printf("%d...- Akshay_Anti
- Thread
- C++ C++ programming Code Programming
- Replies: 5
- Forum: Programming and Computer Science
-
The C++ Programming Language by Bjarne Stroustrup
Author: Bjarne Stroustrup Title: The C++ Programming Language Amazon Link: https://www.amazon.com/dp/0201700735/?tag=pfamazon01-20 Prerequisities: Contents:- I like Serena
- Thread
- C++ C++ programming Language Programming
- Replies: 1
- Forum: Science and Math Textbooks
-
K
Comp Sci Problem with getline in C++ programming
Homework Statement I am solving a problem in which I am reading numbers from cells in a csv file, I used getline to get strings from the csv file then converted the string to an integer... but the getline seemingly discards the last cell in the csv file Homework Equations this my C++...- khotsofalang
- Thread
- C++ C++ programming Programming
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
W
Which Edition of C++ Primer is Best for Particle Physicists?
Hello I'm asking for a textbook in C++ programming language for [FONT="Arial Narrow"][SIZE="3"]Particle Physicists- welatiger
- Thread
- C++ C++ programming Language Programming
- Replies: 1
- Forum: Science and Math Textbooks
-
M
Comp Sci Where to save .dat file for C++ programming
Homework Statement I'm starting my C++ project which requires me to call a file stream and output the data to four other output streams. Before I start, I want to know if I need to have a .dat file premade and saved somewhere so I can call it or do I just make that file in my code by using...- mathnoobie
- Thread
- C++ C++ programming File Programming
- Replies: 4
- Forum: Engineering and Comp Sci Homework Help
-
J
Comp Sci C++ programming, Newtons Method.
Having a lot of trouble the my C++ course, loops especially. This is the assignment giving me trouble The function you are to implement finds a root of the given function eff(x) using Newton's method. The given version of eff(x) implements f(x) = x2e-x-2 (where e is the base of the natual...- Jtenbroek
- Thread
- C++ C++ programming Method Newtons Programming
- Replies: 8
- Forum: Engineering and Comp Sci Homework Help
-
C/C++ Why are the C++ programming standards so inconsistent?
It's a pity that the various coding standards that I have seen are inconsistent as to when to use #include "file_spec" or #include <file_spec>. The "High Integrity C++ Coding Standard" says: [FONT="Times New Roman"]High Integrity CPP Rule 14.9: Use <> brackets for system and standard...- I like Serena
- Thread
- C++ C++ programming Programming
- Replies: 14
- Forum: Programming and Computer Science
-
R
C/C++ Recommend books on Python/ C++ Programming
idk if some of you remember Recommend a book on Python Programming thread i created a while back. As some of you suggested, i bought Lutz's book. I've looked into (or at least skimmed through) most of the book...i really liked it. I'm currently working on GUI Tkinter, it seems interesting...- rubrix
- Thread
- Books C++ C++ programming Programming Python
- Replies: 4
- Forum: Programming and Computer Science
-
T
Comp Sci Borland C++ programming quistion, what's wrong with my program
This program is supposed to add 2 integers ,according to the compiler, there are 2 warnings and 1 error ,the error is (undefined symbol' end') the warnings are 'sum' and 'y' are declared but never used here is the program : # include <iostream> # include <conio.h> intmain() { int x; int...- tj00343
- Thread
- C++ C++ programming Program Programming
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
L
C/C++ C++ programming and electrical engineering
Is C++ programming used in electrical engineering work, it really doesn't seem as though it would be,but what could it be useful for, some kind of possible scenario ? (E.E. encorporates the use of electricity to make things happen mainly, whereas C++ has to do with computer design)- land_of_ice
- Thread
- C++ C++ programming Electrical Electrical engineering Engineering Programming
- Replies: 3
- Forum: Programming and Computer Science
-
T
C/C++ Learning C++ Programming for TI Basic Users
i have made programs on my TI83+ than i bought a TI89+ Titanium but i have never programed in C++ or any other programming language. so could anyone tell me about how to program in C++ and the key differences between C++ and TI basic? if anyone wnats my programs contact me with youe E-mail and i...- thharrimw
- Thread
- C++ C++ programming Programming
- Replies: 4
- Forum: Programming and Computer Science
-
A
C/C++ Need Help Downloading Free C++ Programming Software
hello everone there, sorry to bother you just wanted to ask, if anyone could help me where to download free c++ programming software. please please let me knw if anyone know it i will be very apriciated for that. u can reaply me on this add: talk2amit_rulz@hotmail.com thank you for ur time- amitpraut
- Thread
- C++ C++ programming Programming Software
- Replies: 7
- Forum: Programming and Computer Science
-
C/C++ Guide to C++ Programming For Beginners
Continue reading...- dduardo
- Thread
- Beginners C++ C++ programming Programming
- Replies: 169
- Forum: Programming and Computer Science