• Register

Recent questions tagged command-line

0 votes
1 answer 3 views
Problem: I know that everyone uses an IDE nowadays, but I just find it simpler to write my code in notepad++, compile it using a command prompt command, and run it from there too. At least that works for Java and Python. I've tried to get my head around how to do that ... please don't post answers and comments about how IDEs are better - I know they are. I'm just used to doing it the old way :D
asked Dec 24, 2020 Mashhoodch 5.6k points
0 votes
1 answer 7 views
Problem: I'm trying to compile using g++ and either the -std=c++11 or c++0x flags. However, I get this error cc1plus: error: unrecognized command line option "-std=c++11" g++ --version g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54) ... Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
asked Dec 24, 2020 Mashhoodch 5.6k points
0 votes
1 answer 6 views
Problem Hey, I was working on a project for a quiz for kids in C++. I was willing to do that user clicking on the question to give the answer to that question. But, I don&rsquo;t know what's happening to my code. C++ doesn&rsquo;t wait for the user giving the answer. And presenting the ... endl; cout << "" << endl; cin >> ans; cout << "" << endl; cout << "Press Enter to Continue"; cin.ignore();
asked Dec 22, 2020 chris jordan 2.2k points
0 votes
1 answer 20 views
I'm trying to install spaCy using pip install spacy but I'm getting the following error .. I have VS 2015 installed, and I have the following Python install .. 3.5.2 |Anaconda 2.5.0 (64-bit)| (default, Jul 5 2016, 11:41:13) [MSC v.1900 64 ... others. This is not a unique problem to this specific library but more generally anytime I try to install Python libraries that need C to build on Windows.
asked Oct 24, 2020 psandprop 2.4k points
0 votes
1 answer 26 views
I installed WAMP on my computer. After the installation, I created my first php file. I wanted to test it by using the command prompt. php test.php But I got this error instead. 'php' is not recognized as an internal or external command, operable program ... don&rsquo;t know what&rsquo;s wrong because I followed the tutorial on how to install WAMP. Any help and guide will be greatly appreciated.
asked Oct 11, 2020 azriel 590 points
0 votes
1 answer 59 views
Problem: I have been doing the programming in JAVA and Python, coding the programs in Notepad++ and compiling them using command prompt command and it is working absolutely fine. Now, I wanted to run C++ code in CMD but failed do so as I was doing for Java and Python. Can anyone help me with the problem of how to run the C++ program in cmd?
asked Oct 8, 2020 sikandar 2.4k points
1 vote
1 answer 20 views
Problem: Hello Kodlogs, I&rsquo;ve got a simple user-defined function that adds two numbers. The script looks something like this: def is_a_function(a,b): var = 10 return (a+b)*var print(is_a_function(5,6)) The above program is doing good this way. I am thinking to ... have an idea how to run the function from the command line and I am wishing an example from you, guys. Thanks for your concern.
asked Jun 2, 2020 adamSw 11.3k points
1 vote
1 answer 20 views
Problem: What yum command below can display a list of package group names?
asked Mar 23, 2020 ArifulIslam 5.6k points
2 votes
2 answers 38 views
Problem: Which command displays information about all loaded modules on the system?
asked Mar 23, 2020 ArifulIslam 5.6k points
0 votes
1 answer 73 views
Problem: Can any one guide me whether the statement is True or False? A local variable can be accessed from anywhere in the program? True False
asked Feb 24, 2020 maddi86 5.4k points
0 votes
1 answer 25 views
Pronlem: I am new and learning, I need help, can anyone help with right method? What two methods can be used to access items in the Quick Launch menu?
asked Feb 24, 2020 maddi86 5.4k points
0 votes
1 answer 47 views
Problem: I am new in network as I am learning so could you please help me? What command below is used to TEST NETWORK connections by sending a request packet to a host?
asked Feb 23, 2020 maddi86 5.4k points
1 vote
1 answer 291 views
Problem: Can any one help me? Which command could you use to verify if a crontab file exists for user thobbs?
asked Feb 22, 2020 maddi86 5.4k points
0 votes
1 answer 66 views
Problem: I am running a script #!/bin/csh can anyone guide me what does it me? A file begins with #!/bin/csh. This means:?
asked Feb 20, 2020 maddi86 5.4k points
0 votes
1 answer 132 views
Problem: I have the registry file and this files are deleted can any one help me where this file can store if i restore them? Registry files, if deleted, can be restored from those saved in what folder? Select one: C:\Windows\RegBack C:\Windows\System32\Config\RegBack C:\Windows\System32\Config\Hive C:\Windows\System32\WinBackup
asked Feb 19, 2020 maddi86 5.4k points
0 votes
1 answer 19 views
Problem: Can anyone guide me with right command to be used for monitoring free space on mounted filesystems? Which command below provides the easiest method for monitoring free space on mounted filesystems? - du - df - fs - fd
asked Feb 19, 2020 maddi86 5.4k points
0 votes
1 answer 16 views
Problem: Can anyone guide me what format to use when i have to display working of database on screen? The display format that you choose when working with a database object on the screen?
asked Feb 19, 2020 maddi86 5.4k points
0 votes
1 answer 26 views
Problem: In linux i am trying to use wildcard characters at the command line but not getting right character, can one tell me the right character to be used in in linux? Linux utilizes what two different wildcard characters at the command line?
asked Feb 19, 2020 maddi86 5.4k points
0 votes
1 answer 25 views
Problem: I am little bit confused, whether the statement is true or false? Pressing the Esc key at the prompt while using the more command displays a help screen? true/false
asked Feb 19, 2020 maddi86 5.4k points
0 votes
1 answer 62 views
Problem I am new, I need help, can anyone help me? A list of the available nonkeyboard characters can be seen in Windows by opening what utility? A. charmap.exe B. chardump.exe C. listchar.exe D. charlist.exe
asked Feb 18, 2020 maddi86 5.4k points