Questions tagged [get]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
313 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 ...
kzidane's user avatar
  • 17.7k
1 vote
2 answers
199 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 ...
kzidane's user avatar
  • 17.7k
0 votes
1 answer
64 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 ...
Nagaraj G N's user avatar
0 votes
1 answer
47 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 ...
MDT's user avatar
  • 1
0 votes
1 answer
210 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 '...
OperaSinger's user avatar
0 votes
1 answer
128 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 ...
comuter's user avatar