Beginners - December 2016 (Page 22)

Reading input file with different data types not separated by spaces
 
So I've been scouring the internet for awhile now and have read pretty much everything that has come up, but I'm afraid I still haven't found exactly what I'm l...
[1 reply] : Basically, my question is - how do I read an input file containing a ... (by jlb)
Linked Lists Question
 
The purpose of this program is to allow a user to input data about classes they've taken and the program will display a comprehensive list of all the classes. M...
[1 reply] : do{ course *p=new course; cout << "Enter a course code: (e.... (by cire)
Switch Cases are ending prematurely
 
Hi guys, I am creating a music player list for myself and I am having issues with my case statements jumping to case(4) after selecting the third option to crea...
[3 replies] Last: Thanks guys for the help! I have worked on my code a bit more, but I ... (by jahkyah)
PushDown Automata
 
I'm getting this annoying error and I have no idea why????? LNK2019 Main #include <string> #include "PDATransition.h" #include "PDA.h" using namespace std; vo...
[1 reply] : You've promised to provide the definition of some function or object, ... (by cire)
C++ script for web crawler/spider
 
Write your question here. Hello, I am new to C++ and I am using Xcode How to write a C++ script for web crawler/spider For the spider, I watch youtub...
[no replies]
Please help.
 
I need someone to help me with this homework problem. I need to write a program that tells the user to enter a string that includes a combination of lette...
[13 replies] Last: Thanks boost lexical cast I will try it out. Appreciate it the help. (by NewCoder1300)
DirectX Hook for ImGui and GTA 5
 
Hi, Im looking for pointers on how to make a DirectX hook thats internal. If you have some code that would be even more wonderful, pointers are welcome too. Tha...
[no replies]
Writting Algorithm Using a Linked List
 
Write your question here. hey guys am new here, ah kinda need solution with this assignment rite an algorithm USING A LINKED LIST called STUDENT to enter a st...
[no replies]
by NateE
Calculate monthly gross pay
 
I am attempting to calculate the hours and rate for the week for four weeks and then calculate the gross pay of all four weeks for a monthly total. I am not abl...
[7 replies] Last: It seems like your headed in the right direction (although there may b... (by thereare10typesofpeople)
Help needed with IsPrime function.
 
Hi! So, I'm new to C++ and I have a final tomorrow. as i was practicing i encountered this problem: "Write a function, called IsPrime that receives one paramete...
[2 replies] Last: You have two instances of the variable c. line 5 and line 8. The ins... (by AbstractionAnon)
Trying to expand my understanding of arrays
 
How many elements are in these arrays? int test_scores = (88, 100, 90) //7 correct? Bc defines the amount of arrays int test_scores [ ] = (88, 10...
[1 reply] : You're correct. 7 in the first example. 3 in the second example. (by AbstractionAnon)
Need help for a card game.
 
This is my assignment.I'm very new to C++.So this is my code.Is there anything that I can fix. There are four suits and each suit contains 13 card. For ea...
[3 replies] Last: Thank you guys for replying :) This is a updated version of my code. I... (by nishabtam)
Help Please
 
Hello everyone, I am new here and new to c++ programming. Taking a class and working on a project. I am stuck as my program doesn't switch to my function calls....
[2 replies] Last: Thank you, I'm sorry about the format issue. Next time, I will fix tha... (by ejv1993)
by ghotez
How to make matriks properly
 
hi, i have a problem with matriks. i wrote matriks code in c++ like this: for (int i;i<dimension;i++) { for (int j;j<dimension;j++) { matriks ...
[no replies]
How does this code snippet actually create an object
 
Link to code: https://github.com/buglloc/brick/blob/master/include/capi/cef_request_context_capi.h cef_request_context_capi.h /// // Creates a new con...
[1 reply] : That is because it is a class constructor. (by koothkeeper)
book example doesn't compile
 
Here I have an example code from Stroustroups PPP-book, but it doesn't compile. #include <vector> #include <stdexcept> struct Range_error : std::out_of_rang...
[2 replies] Last: Thank you, Peter. I must been blind for that i did'nt have seen this h... (by nuderobmonkey)
Finding the length of a row of a non-uniform 2D array
 
Hi forum, I have a non-uniform two dimensional array and I want to find the number of elements in a certain row. Let's say that my array is the one belo...
[4 replies] Last: Note, the element-type of your example array is int , but you (attemp... (by keskiverto)
Need help to construct flight system using linked list
 
[no replies]
Please Help!!! Finding length of pointer
 
on line 55, I get error that like this: error: request for member 'length' in 'number->Pokedex::rest', which is of pointer type 'Pokedex*' (maybe you meant to ...
[1 reply] : length is not a member function, so neither number->rest.length()... (by Chervil)
by ppppp
Automatic downslash on console display
 
I am writing a c++ program that using console display like a notepad. The program gets text from user on console , keeps it in double linked bi-directional link...
[no replies]
December 2016 Pages: 1... 2021222324... 28
  Archived months: [nov2016] [jan2017]

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