Recent content by medonaldson2
-
M
C/C++ Intro to c++ help with vector problem
So I'm trying to do this problem: Write a for loop to populate vector userGuesses with NUM_GUESSES integers. Read integers using cin. Ex: If NUM_GUESSES is 3 and user enters 9 5 2, then userGuesses is {9, 5, 2}. Here is my code so far... #include <iostream> #include <vector> using namespace...- medonaldson2
- Thread
- C++ Intro Vector
- Replies: 2
- Forum: Programming and Computer Science
-
M
C/C++ C++ Programming: Intro to Analyzing URLs w/ Built-in Library
I'm in an introductory course for c++ and I'm trying to make a program where it analyzes a url link and do string searches within it. For example if I were to put in https://www.wikipedia.com , it would say, "You've requested the Wikipedia- The Free Encyclopedia page." My professor told us...- medonaldson2
- Thread
- C++ Intro
- Replies: 1
- Forum: Programming and Computer Science