123 Topics

Member Avatar for
Member Avatar for restrictment
Member Avatar for prakash2813

Hello everyone. I have been trying to get desired output since last 4 days and so far very near to it. I am really stucked in the logic. Please help me or help me in writing proper logic. Open the attached zip file for whole eclipse project. No need to …

Member Avatar for jwenting
-4
449
Member Avatar for Michael_9

command name can be APP_COMMAND_NAME as const Friend Module Program Private CurrentString As String = String.Empty Public Const APP_RUNNING As String = "Running" Public Const APP_TITLE As String = "Console" Public State_Output As String Public State_List As List(Of String) = New List(Of String) Private commandlist_ As Dictionary(Of String, Action) Private …

Member Avatar for rproffitt
0
419
Member Avatar for Nathan_6

Hi, I am working on a blackjack game as a person learning swift. Due to my need to learn the basics of swift before jumping into learning how the view controllers and other mobile-app specific details work, I am making this game in a playground. I wrote a function that …

Member Avatar for Nathan_6
0
309
Member Avatar for kevinbelgiean

Actually, I owe a website where a particular set of inner pages is not getting indexed in Google and other Search engines. I have checked sitemap.xml, robots.txt file and also the meta robots tag and I have never found any issues. Then, I did a Google Fetch with the help …

Member Avatar for JeniAnderson
0
391
Member Avatar for waseem1345

hello, this is the part of the code I'm having a problem with if(a1==r1a || a2==r1b) {//REPLACING for(p=0;p<8;p++) { for(r=0;r<8;r++) { if( i[p][r]==1) { i[p][r]=0; } if(p==a1 && r==a2) { i[p][r]=1; r1a=p; r1b=r; } } } } I have only 2 units in the board of my chess game, intiger …

0
210
Member Avatar for ddanbe

This is a small one. Some time ago this table came in handy, testing out low level multiplication. And I just love multiplication tables. We all do, now don't we? :)

0
436
Member Avatar for Garidius

Hello to all, I have a console executable file that I run from DOS console passing some options and an input file. I'd like to give to this exe file a GUI. I'd like that the GUI was a new exe file that could contain inside my console exe file …

Member Avatar for Garidius
0
617
Member Avatar for restrictment

I accidentally posted a lower version of the game that had more flaws, and a few less features. This one has a few more minor bugs fixed, and a power attack instead of a normal attack.

Member Avatar for krieg
0
678
Member Avatar for Brandy_1

Have a program I am writing for class using the pseudocode given. I have written it in a flowchart program successfully, but cannot get it to work properly in VB. It is supposed to show the C for Celsius and F for Fahrenheit, and list the matching equivalents below up …

Member Avatar for Brandy_1
0
254
Member Avatar for Brandy_1

Program runs without errors, unfortunately it will not calculate the days overdue. Any Suggestions? I have attached the code as a pdf, i have also done this as an IF, THEN, ELSE statement with the exact same results, but it will not let me upload it. Help! Private Sub calculateFees …

Member Avatar for Reverend Jim
0
391
Member Avatar for Brandy_1

Having a problem. Wrote program originally as VB Console using Sub procedures, had to change it to Function. It worked as sub procedures, but now as function it won't calculate correctly, I actually have two that are doing the same thing because of the procedure switch! Grr! Any suggestions? Sub …

Member Avatar for Brandy_1
0
469
Member Avatar for William Hemsworth

Saw [this](http://www.daniweb.com/software-development/cpp/code/216430/add-a-little-graphics-to-your-console) and decided to make a little spinoff with some physics of mine. Enjoy!

Member Avatar for YassinTAH
1
437
Member Avatar for 111100/11000

/* Made in code::blocks 12.11 -randomly generated terrain mirrored to be equal for bought players - - */ #include <iostream> #include <windows.h> #include <stdio.h> #include <string.h> #include <ctype.h> #include <fstream> #include <cstring> #include <string> #include <cstdlib> #include <ctime> #include <sstream> #include <cctype> using namespace std; //Public functions char printMap(char terraniValue); …

Member Avatar for 111100/11000
0
1K
Member Avatar for schroaus
Member Avatar for matt55284

Just started learning c++ and ive got a bit stuck :L Im making a console application that injects a file into a process. The file name and process name are both specified at the start of the code using char FileToInject[] = "File_Name.xxx"; char ProcessName[] = "Process_Name.exe"; The console works …

Member Avatar for rubberman
0
350
Member Avatar for damle1

Hi I am New to PHP and my question looks stupid but i am stuck I want to search operation register to search by id and print out put of perticular id my first file has this code: <form action="printotreport2.php" method="POST" target="_blank"> <tr> <td>Ot Reg ID of Patient </td> <td> …

Member Avatar for Fr3aK
0
227
Member Avatar for hulkishungry

Hi, I studied Java last year in university but I found it rather difficult - mainly because I made it difficult for myself by not studying as much - but hey. I've been working on a console-based "game" with the language and I've just had a hit of inspiration to …

Member Avatar for mustafaneguib
0
243
Member Avatar for ddanbe

Greetings. Is there an easy way for an app to find out at runtime, if it is a console app or a form app? Any answer would be greatly appreciated.

Member Avatar for ddanbe
0
224
Member Avatar for hasan bahadır

Hi guys. I am beginner at developing and currently learning c#. I was asked for developing a console based snake game by my knowlage of c#. So i have to develop the game by using classes( not structs etc) arrays methods.. I can use any ideas on that matter. Thanks.

Member Avatar for hasan bahadır
0
347
Member Avatar for ddanbe

The luxuries we now have in the amount of pixels on a screen to draw some amazing graphs with, were lacking in the early days of computing. Most of the time you had to resort to rude printed output. It wasn’t that bad always. Sometimes it was and still is …

Member Avatar for ddanbe
1
3K
Member Avatar for Xakzi

Hello! I am having a bit of a hard time figure out how to code this thing.. I have just started coding by using windows form application and need some help.. I have successfully coded so that I can open a txt file without any problem, but it is reading …

Member Avatar for Xakzi
0
4K
Member Avatar for Dimonai

Hello to all, I'm have been porgramming console applicactions in C# to learn the language. Today I was curious in windows forms, and started a project. After searching in the web/youtube I see people putting all the code on the button code(when doubble click), BUT I saw there the same …

Member Avatar for Dimonai
2
2K
Member Avatar for ddanbe

Many situations arise when you have to choose between two options: true/false, male/female etc. This short snippet will only allow two chars to pass through: capital 'Y' or capital 'N'. The Read and ReadLine methods can serve also, but have the side effect you have to use Upper and Lower …

0
249
Member Avatar for Jasonfran

Hello, I am making a Java IRC bot and it all works fine. I connect via a socket and there is a while loop that will output whatever comes through the IRC. But, I also want to accept console input while the program is running. So far I can only …

Member Avatar for stultuske
0
193
Member Avatar for chriswelborn

I'm no pro when it comes to BASH, but I have been known to shell-script my way out of a problem here and there. One of the useful things you can do is a for-loop, whether it be used on file names, script arguments, or just a string of words. …

Member Avatar for chriswelborn
0
298
Member Avatar for chriswelborn

I'm no pro when it comes to BASH, but I have been known to shell-script my way out of a problem here and there. One of the useful things you can do is a for-loop, whether it be used on file names, script arguments, or just a string of words. …

Member Avatar for chriswelborn
0
378
Member Avatar for chriswelborn

This is another useful script I came across. It prints a color-code chart in your terminal. It can help you find the color-code you are looking for, or view the current color-scheme you are using (people use it on reddit/r/unixporn to show off their system's theme, I use it to …

0
371
Member Avatar for chriswelborn

I didn't write this, the credits are in the code. It's a code-golf version, and I'm sorry about that. I am trying to 'decode' it but I don't have the skills, so the 'decoded' version doesn't have the right colors. This is an example of what you can do with …

0
1K
Member Avatar for teo236

I am writting a simple C++ programm and I want to generate outputs to the console but with the functions 'fwrite' and 'printf'. However, I can't print special characters like 'á', 'é', ... Here is a simple code: printf("Special character: 'ñ'"); Were the output was `±` I found that those …

Member Avatar for tinstaafl
0
357

The End.