27 Solved Topics
Remove Filter
|
|
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 … |
|
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 … |
|
|
/* 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); … |
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 … |
|
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. |
|
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 … |
|
Just wondering here what is a efficent way to communicate between a Windows Form project and a console application. So far im using Visual Studio 2012 and the System.IO.Pipes namespace,to send bytes between the application. In the windows form(as client) Dim pipes As NamedPipeClientStream pipes = New NamedPipeClientStream("A Digital Whirlwind … |
|
Hello Community, I was wondering if it's possible to attatch a command prompt window to a visual basic form. EG. (Below (i made this as an example)) ![example8](/attachments/small/3/example8.png "align-left") Something like that. Please help. |
|
I am trying to create a gui that will interact with an existing external console application, e.g. the user only changes information in text boxes or radio buttons and that will prompt the VB.net program to sumbit a certain set of commands. I will create a folder for the end … |
|
Hey guys I manged to get some code what works fine but it uses console application I have tried to convert it by hand and change things around to get it to work but with no avail! Im certain it should be simple but I may be wrong :( Code … |
|
I used to use a tutorial for windows console API, but the website was taken down :(. So now I need to ask how to do these things (which ALL were included on the website) in the console with windows API: * Mouse events (clicks and unclicks) * Cursor seeking … |
|
Hi I have a problem with dice game. So I have a dice game , but I want to see the picture of the dice every time the player throws the dice not only the number.. I dont know how to make it, do I need to rewrite the random … |
|
Well... im making some kind of graphic engine for console in [B]c++[/B], ASCII based, just for exercise... anyways, i was wandering, can i print text [B]faster[/B]? Right now i'm printing the whole map of characters (pix[160][120]) in a [B]single line[/B], so it is fast, however i need it faster cause … |
|
Ok so here is the problem... this is my code: [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DesignOutput { class Assignment { static void Main() { Console.WriteLine("CCCCCCCCCC"); Console.WriteLine("CC\t\t##\t##"); Console.WriteLine("CC\t\t##############"); Console.WriteLine("CC\t\t##\t##"); Console.WriteLine("CC\t\t##############"); Console.WriteLine("CC\t\t##\t##"); Console.WriteLine("CCCCCCCCCC"); Console.ReadKey(); } } } [/CODE] Im trying to match this: [CODE]CCCCCCCCCCC CC ## ## CC … |
|
Hi I wanted to ask what is the relationship between "system" , "console" and "read" so far I found out that console is a "class" in the system name-space. |
|
Hey friends.Need a help from you again. I'm trying to study about streams and I wrote small code for get input from command line and print it in the screen,but It prints weird characters like Japanese :O . Can anyone explain what I did wrong... [CODE] import java.io.*; public class … |
|
Hey folks. I currently have the below code:- [CODE] int double weeksInYear = 52; int double num; while (num <= weeksInYear) Console.WriteLine("Week " + num); num += 2; [/CODE] Now when my code runs, it produces approximately 26 lines of text as below:- Week 1 Week 3 Week 5 etc..... … |
|
Hi, I'm very new to Java (started today, though I have 1.5 years in c++) and I've now read a little bit about Java, the thing that I can't find is how to take user input from the keyboard through a console window... How can you go about do that? … |
|
Hello, I have decided to make a timer program on my computer to limit the amount of time that I game. Anyways, I have it working fine with a small borderless window in the top left of the screen that ticks down and when it gets to 0 it sounds … |
|
Hi, I'm novice by complete to webservices et al. I've created successfully a webservice and referenced it in a console application. By simplification let assume that the webservice contains a webmethod, the 'classic' CelsiusToFarenheit (string Celsius). Once referenced i can see my new namespace ServiceReference1 with the following classes inside: … |
|
Hey, I was trying to make a program which displays two chars A and B on the screen. Using the WASD keys, it lets you move the A char around and using the arrow keys it lets you move the B char around. I wrote the following: [CODE]Module Module1 Dim … |
|
The small business which I work for uses Microsoft Windows Small Business Server 2008. Using SBS Console I can navigate to the Users and Groups tab and then to the individual user. When I click on a user's properties and then click on the Computers tab I can see access … |
|
I'd like to have a windows forms application execute a command line instruction similar in structure to the following: ProcessText file1 file2 where ProcessText is a working console tool for automated text processing, file1 is the text I need processed, and file2 is the created text output. From the command … |
|
Python works fine in the console, but I'm having problems using python in a Java program. In case someone here has any ideas, I'm posting a link back to my original post (please reply there and not here): [url]http://www.daniweb.com/forums/post1246152.html#post1246152[/url] Thanks! |
|
I need to code a program for my friend and it has been giving me some difficulties. This needs to have two classes, one called Tester and another called Game. And the data in the Game class needs to be pulled to the tester class after the calculations are finished. … |
|
[I]EDIT: For a console application, not sure if someone can add that to the end of the title?[/I] I could only think of it as a function, as I'm not too heavily into C# just yet. What I'm doing is creating a MUD-style game as a console application, so players … |
|
Hey, im in need of a little help... im trying to have my .exe show an image with sdl, wait 2500 milliseconds, close the image and then return to the black console screen with my cout statments and whatnot appearing. But instead when i exit sdl, the whole program exits. … |
The End.