Programming and Computer Science Forum

Join the expert discussion on programming topics. Topics like computer algorithms, data structures, A.I., systems, databases, communications, security.

Threads

C/C++ Does VS support string_view in C++?

  • yungman
  • · Replies 40 ·
2
Replies
40

What programming languages are commonly used for web development?

  • fog37
  • · Replies 41 ·
2
Replies
41

C/C++ Why does my program using cstring work while the one from the book doesn't?

  • yungman
  • · Replies 73 ·
3
Replies
73

Trying to find an algorithm for the Number Mastermind game

  • Arman777
  • · Replies 46 ·
2
Replies
46

Computing the value of sine function accurately

  • Theia
  • · Replies 3 ·
Replies
3

Fortran Density of state of a linear lattice

  • MahdiI84
  • · Replies 16 ·
Replies
16

C/C++ Why Does My C++ Divide Function Not Compile?

  • yungman
  • · Replies 39 ·
2
Replies
39

Why use polymorphism for grading activities?

  • yungman
  • · Replies 36 ·
2
Replies
36

C/C++ What is the difference between cin and getline in C++?

  • JonnyG
  • · Replies 8 ·
Replies
8

Dynamical Programming - Sum of numbers / Advanced Problem

  • Arman777
  • · Replies 3 ·
Replies
3

Fortran Parallel DO loop with OpenMP (fortran)

  • davidfur
  • · Replies 8 ·
Replies
8

Why use pointers and const for string parameters in classes

  • yungman
  • · Replies 4 ·
Replies
4

What is my next logical step in programming?

  • yungman
  • · Replies 7 ·
Replies
7

Strategy for scheduling with preference constraints

  • nomadreid
  • · Replies 11 ·
Replies
11

Are more programmers young or old?

  • Hacker Jack
  • · Replies 13 ·
Replies
13

Polymorphism using pointer to array

  • yungman
  • · Replies 23 ·
Replies
23

Python A useful software: schematics drawing package for Jupyter (python)

  • theycallmevirgo
  • · Replies 2 ·
Replies
2

Looking for physics based simulation for data generation

  • up2front
  • · Replies 6 ·
Replies
6
Replies
6

Fortran Solving Magnetic Field Using Floating Random Walk

  • gt24
  • · Replies 6 ·
Replies
6

Could Lazy Y2K Fixes Still Haunt Us?

  • anorlunda
  • · Replies 3 ·
Replies
3

Fortran Extract values from ASCII file in GIS by Fortran code

  • Pooyannikeghbali
  • · Replies 2 ·
Replies
2

Python I am elementary in coding with Fortran 90 and python

  • Pooyannikeghbali
  • · Replies 3 ·
Replies
3

C/C++ Understanding Inheritance and Polymorphism in C++

  • yungman
  • · Replies 17 ·
Replies
17

Python How to Continuously Iterate Through a Linked List in Python Using urllib

  • Arman777
  • · Replies 3 ·
Replies
3

Efficient Q-Tree Algorithm: Understanding Parent-Child Relationships

  • sayuri2009
  • · Replies 1 ·
Replies
1

How is lexicographic order used in ranking and unranking subsets?

  • mathmari
  • · Replies 25 ·
Replies
25

C/C++ Calling class member function from main.cpp without scope resolution operator

  • JonnyG
  • · Replies 6 ·
Replies
6

Python Running Electrum in Python from the CLI on Ubuntu 20

  • jack action
  • · Replies 2 ·
Replies
2

Question on base class access spec. and constructor

  • yungman
  • · Replies 36 ·
2
Replies
36

Best Programming Language for a Smart Teenager

  • yungman
  • · Replies 54 ·
2
Replies
54

Adjusting the printing format for the given variables in R

  • Arman777
  • · Replies 14 ·
Replies
14

Combining Graphs: Finding Solutions through Graph Homorphisms

  • seel
  • · Replies 6 ·
Replies
6

C/C++ What are the differences between C-string and new char[] constructors in C++?

  • yungman
  • · Replies 89 ·
3
Replies
89

Python Python code to calculate the age of the Universe using the Hubble constant

  • k1120
  • · Replies 1 ·
Replies
1

Do you consider writing this program a bit of a challenge?

  • Hacker Jack
  • · Replies 49 ·
2
Replies
49

Python 4D array with elements only on one side of the diagonal

  • schniefen
  • · Replies 5 ·
Replies
5

C/C++ Learn C++ with Bjarne Stroustrup's "Programming Principles and Practice" Book

  • Hacker Jack
  • · Replies 69 ·
3
Replies
69

Any way to overload [ ] for vector of structure?

  • yungman
  • · Replies 52 ·
2
Replies
52

Raspberry Pi 2 review and ideas

  • Borg
  • · Replies 23 ·
Replies
23

What was your motivation to learn programming?

  • Hacker Jack
  • · Replies 32 ·
2
Replies
32

LOGPEARSONDIST and LOGNORMALDIST Function in PHP

  • gind_id
  • · Replies 2 ·
Replies
2
Replies
2

Python Radiobutton choices auto-filled before selection

  • Eclair_de_XII
  • · Replies 3 ·
Replies
3

C/C++ Is Jamie King's Approach to Operator Overloading in C++ the Best Practice?

  • yungman
  • · Replies 53 ·
2
Replies
53

Python Writing modules that require supplementary files

  • Eclair_de_XII
  • · Replies 9 ·
Replies
9

Question on this overload program

  • yungman
  • · Replies 89 ·
3
Replies
89

Python Rotate 2D Gaussian given parameters a, b and c

  • schniefen
  • · Replies 9 ·
Replies
9

Why Is Namespace Important for Using cout in C++?

  • JonnyG
  • · Replies 11 ·
Replies
11

How to implement a Fredkin gate in a classical network?

  • Agrippa
  • · Replies 7 ·
Replies
7

Is an interpreter without an intermediate representation even possible?

  • TheShermanTanker
  • · Replies 6 ·
Replies
6

C/C++ What Does :x(a) Mean in a C++ Constructor?

  • yungman
  • · Replies 6 ·
Replies
6

Is it ever possible we could do better than binary for computers

  • norobinhood
  • · Replies 33 ·
2
Replies
33

Fast pentadiagonal matrix solver

  • GautierR
  • · Replies 1 ·
Replies
1

C/C++ Puzzle with C++ constructor and overloaded operator

  • jtbell
  • · Replies 23 ·
Replies
23

Python Access User attributes in Admin class without inheritance

  • Arman777
  • · Replies 43 ·
2
Replies
43

Find path to minimum cost from start to finish

  • mathmari
  • · Replies 19 ·
Replies
19

Why operator overloads use reference parameters instead of copies

  • yungman
  • · Replies 18 ·
Replies
18

Python Looking for online/book Problems about the Python Classes

  • Arman777
  • · Replies 5 ·
Replies
5

C/C++ Bjarne Stroustrup's C++ book -- free to first person requesting it

  • harborsparrow
  • · Replies 10 ·
Replies
10

Generating Random Numbers with the Acceptance-Rejection Method

  • Amrator
  • · Replies 22 ·
Replies
22

C/C++ Why do I need the this pointer in C++?

  • yungman
  • · Replies 40 ·
2
Replies
40

Can Keras be used without explicitly importing TensorFlow?

  • fog37
  • · Replies 8 ·
Replies
8

Python İmport a python function inside a subfolder

  • Arman777
  • · Replies 17 ·
Replies
17

Free localization services for Android apps with GitHub integration

  • Wrichik Basu
  • · Replies 3 ·
Replies
3

Python How to Plot y=x^2 Using Matplotlib?

  • joseph2015
  • · Replies 6 ·
Replies
6

Looking for forums about computer science books -- explanations and errata

  • goahead97
  • · Replies 2 ·
Replies
2

Python Mapping Home/End keys in tkinter Listbox and organizing widget generation

  • Eclair_de_XII
  • · Replies 4 ·
Replies
4

Time complexity for an OS to find a file/directory?

  • kolleamm
  • · Replies 11 ·
Replies
11
Replies
59

Class-based contact directory with binary file I/O

  • yungman
  • · Replies 75 ·
3
Replies
75

Dynamic programming: which recurrence relation do we use?

  • mathmari
  • · Replies 2 ·
Replies
2

Still don't get forward declaration in this

  • yungman
  • · Replies 8 ·
Replies
8

Fortran Why Is My OpenMP FORTRAN Program Slower in Parallel Than in Single Thread?

  • jelanier
  • · Replies 37 ·
2
Replies
37

How Can First-Time Developers Sell Their New Software Product?

  • hagopbul
  • · Replies 7 ·
Replies
7

Converting State Vectors to Keplerian Orbital Elements for Binary Objects

  • SethFusion
  • · Replies 13 ·
Replies
13

Question on static int variable

  • yungman
  • · Replies 13 ·
Replies
13

What are the Differences Between HTTP, FTP, and Telnet Protocols?

  • fog37
  • · Replies 19 ·
Replies
19

HTML/CSS Offline HTML to PDF converters and file joining tools

  • mech-eng
  • · Replies 2 ·
Replies
2

C/C++ What could be causing my program to hang on cin.getline() in C++ code?

  • yungman
  • · Replies 30 ·
2
Replies
30

Python Trying to plot parametrized linestlyes - Implementation problem

  • Arman777
  • · Replies 1 ·
Replies
1

How to search just the first two characters in a c-string?

  • yungman
  • · Replies 18 ·
Replies
18

Trying to understand what APIs are

  • fog37
  • · Replies 13 ·
Replies
13

Solving Vector Length Test Problem: EOF & Do-While Loops

  • yungman
  • · Replies 66 ·
3
Replies
66

How Do You Get From 1's and 0's to complex software and digital info?

  • shushi_boi
  • · Replies 10 ·
Replies
10

How to make cin less susceptable to hitting Enter key accidentally

  • yungman
  • · Replies 2 ·
Replies
2

Java First, second, third and fourth generation + Python and Javascript

  • Trying2Learn
  • · Replies 6 ·
Replies
6

What is the purpose of the main function in programming?

  • LCSphysicist
  • · Replies 2 ·
Replies
2

Database Table Design for Canadian Electoral Data

  • highflyyer
  • · Replies 14 ·
Replies
14

Learning R for neurobiology statistics and graphing

  • cobalt124
  • · Replies 9 ·
Replies
9

Is this the way to create a new file?

  • yungman
  • · Replies 33 ·
2
Replies
33

Python How do data scientists resolve name discrepancies like this?

  • Eclair_de_XII
  • · Replies 5 ·
Replies
5

Will Neuralink succeed as a brain-computer interface?

  • sciencel0ver
  • · Replies 3 ·
Replies
3

Best practice for merging dev into master on Github

  • Wrichik Basu
  • · Replies 14 ·
Replies
14

Changes made in remote repo are not tracked by Git in local repo

  • Wrichik Basu
  • · Replies 4 ·
Replies
4

C/C++ Copy C++ string to C-string with exact length allocation

  • yungman
  • · Replies 118 ·
4
Replies
118

Problem in solving differential equation

  • Oliver321
  • · Replies 3 ·
Replies
3

Java Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException

  • MathematicalPhysicist
  • · Replies 3 ·
Replies
3

Where do I fit in the history of data compression?

  • Whipley Snidelash
  • · Replies 11 ·
Replies
11

Python Online course for probability and statistics with emphasis on python

  • Emekadavid
  • · Replies 1 ·
Replies
1