User Profile
Collapse
-
Sorry for the late reply, It is python version 2.x -
I don't understand this output from the codecademy terminal
I am using code academy to learn how to do python, for this code
code:
I got this outputCode:x = range(0,11,2) x = enumerate(x) print(x)
Output:
I would like to know what this output means.Code:<enumerate object at 0x7f737edc0190> None
Thank you -
-
something like this
and so every time i run this it should and i open the text file i should see this sentence repeatedly "Writing this to a file."
...Code:#include <iostream> #include <fstream> using namespace std; int main () { ofstream myfile; myfile.open ("example.txt"); myfile << "Writing this to a file.\n"; myfile.close();Leave a comment:
-
-
-
How to create a txt file, read, write in c++ open for more information
Hello briefly explaning my question how do i create a text file read and write in it but every time i reopen the program i must not overrie the data in the text file please help me i a new to c++ and computer programming.
Thanks in advance -
How to Solve this problem on CMD
When i type Net View in the Command prompt I get this error message, after doing some internet research I found out it was my firewall tell me how to solve the problem. Error System error 6118 has occurred. -
Thanks you solved my problem. I would like to make button for the numbers as well but i don't know how can you tell me how?Leave a comment:
-
How to clear screen in java if the program runs in a window
I have made a Calculator and i need to add a Clear button but i don't know how to clear the screen in the program can someone tell me how i will be thank full. i have no errors or warnings.
This is the code.
...Code:import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Calclator extends JFrame{ public JButton addbutton; public JButton subtractbutton; -
-
weaknessforcats it is giving me the same message
so is there any thing i can change or add any other header file please help me i really need this to be done.Code:(file format not recognized ld returned 1 exit status *** [Project1.exe] Error 1 )
Leave a comment:
-
PlaySound message saying File format not recognized Please help me
I am getting a message from the palysound function it says File format not recognized i have linked the the compiler (i.e. dev c++) to the sound so if someone can help me i will be thank full
...Code:#include <cstdlib> #include <iostream> #include <stdio.h> #include <conio.h> #include <windows.h> using namespace std; int main(int argc, char
-
aravind12345 started a topic I am making a timer but i have an error blocking the way. Please help mein CI am making a timer but i have an error blocking the way. Please help me
ok so i am getting an error in this program i did not test it out because of the error ok so the error is
(expected primary-expression before ')' token) that and i am getting two warnings ([Warning] character constant too long for its type) the other warning is the same but for another line. So if any one can fix this problem i will be thank full.
...Code:#include <iostream> #include <conio.h>
-
-
The timer is not stopping
Hello my problem in this program is that it dose not stop at 0 it also goes to negative numbers please someone fix this
...Code:#include <iostream> #include <conio.h> #include <windows.h> void newline(); using namespace std; int main() { int hours = 0; int minutes = 0; int seconds = 0; cout<< "Please enter houres: "; -
the small program dosen't execute
the problem is that the program dosen't execute and there are no errors and warnings. ( look at this link and you will
know what i mean http://www.youtube.com/watch?v=lialD...ature=youtu.be ) please help me
...Code:#include<stdio.h> #include<conio.h> void main() { float s=0,t=0,d=0; printf("please enter a distence in kliometers"); scanf("%f",d); printf("now -
-
No activity results to display
Show More
Leave a comment: