8,298 Topics
![]() | |
Hi there guys may I ask if there's anyone here who has a complete guide or maybe just a guide on how to make the tetris game in c#? Thank you very much I really need your help. | |
Hi, I have a large array of values and would like to find a way to calculate the change in value for each period. I have been attempting to use a for command with an array to do this, but I have not been successful at all. The basic idea … | |
For some days I have been trying to optimize an image processing program (cropping, rotate, changing brightness and undo) written in c# 4.0. Getting suggestions from google I have optimized the code in many ways. At first some disposable objects hadn’t been disposed that’s why exception was shown. But I … | |
hi there guys can you suggest me some games that I can program in c sharp in an object oriented way? just simple programs that can be done for maybe less than a week since I'm just starting to learn it yet. Any idea? Please help me guys I will … | |
Hello again! I am still working on a program, and I am now working on sorting an array. Well, the array is a bunch of strings read from a text file. Some of the strings were turned into integers. I need to take the strings and find a way to … | |
hello guys my code is not giving me any errors but wont execute the task it just loops can, anyone help me debug it. its a code for extracting book information from a chinese website. thanks in advance. using System; using System.Collections.Generic; using System.Collections.Concurrent; using System.Text; using System.Text.RegularExpressions; using System.IO; … | |
Hello, I am having trouble with a program I am writing. The problem is that I need to take information from a text file, read it, and then output the information into another text file. I keep getting this output: > <ProductSummary>0015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A0 </ProductSummary> I need it to output something like … | |
I want to push a value to a stack using the assignment operator, I need some help with this.. Thanks Stack s; float x = 5; s = x; class Stack { public: Stack(); float push(float value); float pop(); int Size(); float operator = (const float &right); private: float values[30]; … | |
Hi, Say MyClass inherits from BaseClass, and I write the following constructor for MyClass: [code] public MyClass() { DoSomething(); } [/code] When MyClass constructor is called, does it call automatically the BaseClass constructor (even though I didn't explicitly wrote this) ? Thanks ! | |
I have an application that will be minimized and running in the background. I want this application to have it's own moveable mouse so that it does not use my current mouse. How can I accomplish this? I'm not exactly sure where to start to create a mouse for it. | |
Hi all, can someone please help me with my code: Its suppose to input a text file of values then display them and give the max and its index, and inputed values are floats. But I can seem to get the max right. Thanks #include <stdio.h> int main() { FILE … | |
Guys I have some questions please help me., 1. if I make a tetris game out of c# will it be difficult to do? 2. Is it possible to finish it in less than a week ? 3. Also what should I use as a game studio? OpenGL, XNA or … | |
Hello everyone..i'm trying to build a custom installer for my program..could anyone help me getting started?? I need to show a dialog box giving the user an option to choose where to install the program as well as show the installation progress in a progressbar..any help would be appreciated | |
I made a program, hangman. And I am trying to complete it. I have succesfully been able to compare the input letter by all the characters of the word to be guessed (which is saved in an char array) and display it. But now, I can not figure out how … | |
Hi there guys I need your suggestions. Do you know any system or game that is not that hard to program, like something that can be done for less than 3 weeks because I need it for my term project. thank you for those who will help out. | |
I use mediaportal as my mediacenter, with this I use the plugin mvcentral for my music videos. This generates .db3 file, what I want to do is create a .net interface to view this file, with the intention of making it into an exe to have a portal database of … | |
Hi, I'm having a problem with a datetimepicker and databinding. I bind the text of the picker to a value from the database and it works perfectly fine and shows the value correctly, however whenever i change the text in the datetimepicker field to update, it changes, BUT gets back … | |
Hey I have the following code private void buttonInicio_Click(object sender, EventArgs e) { MySql.Data.MySqlClient.MySqlConnection conn; String constring = "server=localhost;database=bd;uid=user;password=pass;"; try { conn = new MySql.Data.MySqlClient.MySqlConnection(constring); string query = "COUNT (*) FROM table WHERE usuario=" + Globales.usuario + " AND pass=" + Globales.contra; MySqlCommand cmd = new MySqlCommand(query,conn); cmd.CommandType = CommandType.Text; … | |
Hi there guys, I have homework to do a program given as input a document read from a text file will similatae MS words word count tool to create the following statistic: number of word: 45 number of line: 30 number of white space character: 73 number of non white … | |
I am fairly new at C++ and Im having a lot of trouble understanding how to do it. This is part of a homework assignment due next week and I have no idea how to even start it (much less finish coding it). Can anyone out there help? ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Create … | |
I have just downloaded this C# Command Line Caller sample program of Ozeki VoIP SIP SDK: http://www.voip-sip-sdk.com/p_163-c-command-line-caller-voip.html It is very easy to use and meets my requirements, but I would really appreciate some extra info from more experienced developers. Has anyone ever built a C# Command Line Caller? | |
I was wondering if anyone could help me. I am working on a program in VS2008 with C# which has a datagridview populated from 2 SQL Express tables and needs to save to only 1 database. Below is the code I have working so far: public frmGrid() { BindingSource bs … | |
The problem is simple. I have LoadLibrary on my c++ app and I want to load c# library but I don't know the entry point. | |
Hello! I want to ask you guys if anyone can help me correct my current program to read graph from a file instead of adding manual matrix in program. Example graph: graph.txt 8 1 2 3 1 3 6 1 8 1 2 3 2 2 8 2 3 4 … | |
Actually im creatg a website as a project so how to create database ,and connect asp page to C# code, hw to change template plzz help | |
I have 2 files writen in java, if someone can please covert them in C# and give it. The problem is with type of variables and operators, many operators are not overloaded like in java, idk what to say... This one will not work in C# as integer result |= … | |
Hey everybody, I'm working in a project where we need a multi agent platform like Java Agent Development Environment(JADE). I'm sorry if this is already posted, I searched for it and couldn't find it, and I'm kind of in a hurry right now =) I hope you understand. Thanks in … | |
Hi! I'm currently making a HTTP protocol bot, it works somewhat fine with a fixed char array, but once there's a website that exeeds 8k, then it cuts off. If it's less, I get weird nonsenscial symbols... Is there a way to know the length before assiging the data to … | |
well i have two questions: 1-hey i was wondering is there a library or namespace in c# for creating databases? like anydbm with python?or anyway to do it? 2-witch faster? getting data from huge database or getting it from like a huge database devided to multi database i mean witch … | |
sorry but i still cant understand what is different betweeen Thread and Process in c# what to use? | |
Hello, I'm looking to, with code, create a report that is numbered 1 through 10000 using MS Access, Visual Basic.NET or C#.Net. Any assistance, would be greatly appreciated. I know I'll have to use a looping structure, and logic with an If Then Else probably. Thank you in advance. | |
#include <iostream> #include <fstream> #include <string> using namespace std; int main () { string cosid1, cosid2; int no_cos=0, nostu1=0, nostu2=0; double score, total_1=0, total_2=0, avg_1=0, avg_2=0, avg_group1=0,avg_group2=0; ifstream group1, group2; ofstream outgroup; group1.open ("group1.txt"); group2.open ("group2.txt"); if (!group1 || !group2) { cout<<"Unable file"<<endl; cout<<"Programs terminates"<<endl; } outgroup.open("totalgroup.txt"); outgroup<<"Course ID"<<'\t'<<"Group No"<<'\t'<<"Course … | |
Hey guys! can you please help me.... I need my user to login to the application, My program must detect to wich depearment to user belongs to, for example if the sales person logs into the application the sales form should be called.... and so on! Having a little problem … | |
I have done this code 5 times in my program for different classes and variables and it has worked fine for 4 of them but the 5th is giving a segmentation fault. The error occurs just after the cout saying 'here' in the main.cpp code below I have run valgrind … | |
Hi! I am still fighting with outlook myappointment.RTFBODY method... I have found on some page that there is a workround which will give me a possibility to put there html text... I have tried it, and it wokrs - almost... webBrowser.CreateControl(); webBrowser.DocumentText = html; // HTML = HTML CODE Application.DoEvents(); … | |
Hi, I need to do this program in my university and I was wondering how can I do it so that when there are no exits available, the program just says "type q to quite", and skips the 'Type the first letter of the next step or direction you want … | |
My .cs file is not recognizing the objects on my asp page. I m working on Visual Studio 2010, when i reference any object like TextBox1.Text it shoes error, TextBox1 is on the page and its visibility is also true, still it's conflicting :( :'( | |
I am writing a quiz program in C# in Visual Studio. When I build it it doesn;t return an errors or warnings. However when I debug, it just brings up a blank screen with no text or buttons etc. I have tchecked all the names match those in the forms … | |
hello i am tryna extract information from a chinese website but i dont know which keyword to use to extract certain information. the html code snippet is shown below .this is a result from running a query on c++ books i want to get the following information book title C++反汇编与逆向分析技术揭秘(《程序员》杂志“2011年度十大最具技术影响力图书”,好评如潮) … | |
Hello! I just want to ask you guys if anyone can help me reedit my program from BFS to DFS. I know how BFS works but i can't figure it out how to write the sintax. So i would please ask you guys if you could help me out. Heres … | |
Hello! I started learning C++ and I just discovered pointers. Well, it's a little bit hard for me to understand what's the point of it so I'll just explain my problem. I want to create a code in which I compute results using arithmetic operations (+, -, ÷, ×,%, ^ … | |
I am trying to generate random points on the canvas. So i want to the random point on the screen to move to a new random location, when mouse touches it. How do i do this?? this is not happening with any of the mouse events. An example would be … | |
Hi every one, I just wondering how I can draw grid lines (Like Grids in Graphics and Cad Drawing files) on a Panel to better presentation for other Graphic objects on the panel? Is there any way that we can set the Offset and cell size and number base on … | |
Hello I'm relatively new to Microsoft Visual Studio. Now, the project that I am working consists of a GUI class and two separate classes (lets call them A and B). I am working on the GUI and one of the other classes (A). Basically, these classes interact woth some hardware … | |
Let us suppose that we have 3 books (see table below), each of which contains a number of chapters and every chapter contains a number of sections. For example the book Data Structure contains 3 chapters (Queues and Stacks, Linked‐Lists, Sorting) and the chapter Queues and Stacks contains 2 sections … | |
please help i'm stuck on something for a project i'm doing i need to display the numbers 1 to 9 randomly but they cannot be repeated! the code i have so far is this: #include <iostream> #include <ctime> #include <cstdlib> using namespace std; int main() { srand((unsigned)time(0)); int random_integer; int … | |
#include <QApplication> #include <QLabel> #include <QVBoxLayout> #include <QTextEdit> #include <QWidget> int main (int argc, char* argv[]) { QApplication app (argc, argv); QWidget window; QLabel* label = new QLabel("Please enter some text"); QTextEdit* textEdit = new QTextEdit; QVBoxLayout* layout = new QVBoxLayout; layout->addwidget(label); layout->addwidget(textEdit); window.setLayout(layout); window.show; return app.exec(); } 1.Qt provides … | |
I meant to post this in the C forum and not the C++ forum. Below is the link to a picture of the debug error window [url]http://www.flickr.com/photos/7629837...in/photostream[/url] It's a program that i'm doing and I keep getting this error here's a link to the programming problem. Its' Number 3 [url]http://books.google.com/books?id=bSy...%2B%2B&f=false[/url] … | |
Hey all, I've been searching Rohitab, CodeProject and various other sites to figure out how to write OPCodes to a file and cannot figure it out. I thought I'd ask here because it's the only site I have an account on and I usually get my answers here or hints. … |
The End.