code not working
;************************************************************** ;* This stationery serves as the framework for a * ;* user application. For a more comprehensive program that * ;* demonstrates the more...
View ArticleMapping Save instead of If
Trying to use an IDictionary to save the result instead of the if statements below. What's the best way to go about implementing a dictionary with code examples? Thanks public SaveResult...
View ArticleLogical Error?
I am facing a small problem.The computer is making two moves for every single move made by the user. //TIC TAC TOE #include<stdio.h> #include<conio.h> #include<stdlib.h>...
View ArticleCounting characters problem
Hey everybody! I have a homework question of which I would like some guidance in. The general issue I am having with it is trying to count characters/letters of a string given by the user. The problem...
View ArticleCommon Lisp: Sorting Structures that hold two numbers
Hello, I have a simple question, how do I sort a list of the following structure based on the exp field: (defstruct term coef exp) heres my attempt at sorting (sort (list (make-term :coef 3 :exp...
View ArticleHow to pass a class as an argument of a function?
Hi there, currently I'm creating a new sub-window once, in the body of the main window constructor: PopUp hey = new PopUp(); However, for my needs, this needs to be done in another function along with...
View ArticleError after compiling Employee.cpp with header files.
Hey guys, I have a problem getting this program to compile. Here are the instructions: Create a C++ class called Employee which will implement the Employee constructor. Remember that once the Name of...
View ArticleQuestion about the Betfair API in my C# application
I am currently working on a project that I need some advice on. It is a betting application that allows users to do soccer bets. I want to know if it is possible to retrieve live soccer betting odds...
View ArticleNeed binary number to be in '8' bit format
I made a decimal to binary converter and I need the output to be in 8 bit. By this I mean I need it to have leading zeros. For example 5 should be "1010-0000". The current code I wrote only outputs the...
View ArticleArray Operations problem.
I am working on his project and I am having trouble understanding the actual questions. Here they are... ArrayOperations: This class has no field variables. DonÂ’t add any!! Add a static method that...
View ArticleChar edit in a text box
Hi, how do I edit a char for example "R" in a text box and set it to a value..But I want to set all the "R"'s to "102"(Int) Textbox1.Text = "Red Roses" Textbox2.Text should then be "102ed 102oses" and...
View ArticleUnresolved external LNK errors
Hello Everyone. I am trying to work through an example cpp program that uses exception handling to detect non-number user entries, but am stuck on a few LNK errors. The errors are as followed (tied...
View Articleproblem i cant download bigger blob files in php
Hi! How can i download files bigger than 50 MB, this is my code, when i try to download files > 50mb the process stoped... ini_set("memory_limit","16384M"); set_time_limit(0);...
View ArticleASCII diamond problem
Hi, I am currently working on making an ASCII diamond that looks like this: XX XXXX XXXXXX XXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXX XXXXXX XXXX XX Right now the im trying to do it using a max of three...
View Articleproblem i cant download bigger blob files in php
Hi! How can i download files bigger than 50 MB, this is my code, when i try to download files > 50mb the process stoped... ini_set("memory_limit","16384M"); set_time_limit(0);...
View Articledifference between server-client and swing?
hi i m new in java, and i have a question. Is there an important difference between a program using swing and server-client program?
View ArticleHow to cut & redo text on mdi form to child form
hi I am using An mdi form which contain many child form and mdi form contain ToolStrip1 in that redo & cut button are not working please help me out of this Private Sub toolredo_Click(ByVal sender...
View ArticleHow to exit an iteration (for loop)
Hey guys, I want to know if there is any keyword that can be used to exit an iteration, but not the entire loop.. for example if i want to print the numbers from 1 to 10, but exclude 6: for(int i=1;...
View ArticleMIPS Assembly Syntax Errors
Hi, I have just started using MIPS assembly language, and I am trying to convert a piece of C code to MIPS. The C code is as follows: int fact(int n){ if(n<1) return 1; else return n * fact(n-1); }...
View ArticleConnect Four Help. Text prints above board, not below
Hello! I've got a simple problem I think, but for some reason it's puzzling me. I intend for the error messages (and other text) to be printed below the board. Here are the two functions that have to...
View Article