Questions tagged [get]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
37 views

CS50 2018 Lecture 1C. Unable to figure out syntax error in code

My code : #include <stdio.h> #include <cs50.h> int get_positive_int(string prompt); int main(void) { int i = get_positive_int("Positive interegr: "); printf("%i\n", i); } int ...
user avatar
0 votes
1 answer
28 views

sans trailing line ending?

I can't seem to find an explanation for the phrase "sans trailing line ending"? From what I can gather, line ending refers to CR (carriage return) and NL (newline) but I still can't grasp the meaning ...
user avatar
  • 1
0 votes
1 answer
178 views

CS50 question for newbie - Get Cash

Other than that I feel like an idiot, I'm having problems with my code for CS50's Get Cash program. There may be MANY errors still waiting, but currently the only error has to do with the sum of the '...
user avatar
0 votes
1 answer
118 views

pset1 water get_int() problem

Whenever I introduce int get_int() I get an error message: error: initializer element is not a compile-time constant int x = get_int()I have tried permutations of get_int(0 that have been suggested ...
user avatar
2 votes
1 answer
291 views

How to Correctly Submit Form Data Using GET?

If https://www.google.com/search?q=cs50 submits form data using GET to search, what is search? What is its extension? Is it possible to visit this page without passing the parameter called q? (well, I ...
user avatar
  • 17.3k
1 vote
2 answers
195 views

How Does PHP Construct Variables and Store Data in Them?

From the notes of week9 - lecture, Once we’re in PHP mode, we access a variable named $_POST. This is an associative array which PHP constructs for you whenever you pass in data via the POST ...
user avatar
  • 17.3k