8,298 Topics
![]() | |
I'm trying this tutorial using the get system metrics functions so what i did was to include the windows.h preprocessor directive although when i'm trying to compile my program i get th e error "undefined symbol '_GetSystemMetrics@4'. I'm using TCC as my compiler. | |
Hi All, I have this old c program that I did a while back on pascals triangle and i'm trying to convert it over to c#.net. Can anyone help me do this? I do not know much or anything on on c# Here is the code: [code=c] //Lyncob directory #include … | |
Hello once again fellow programmers I need help with a C# program. The program is supposed to include fields named radius, are and diameter. I got most of it up but it is not working saying there does not contain a static 'Main' method for suitable entry point. [code=charp] using … | |
Hi guys, I am creating a monitoring program. I need to create a windows service to send a ping request to a list of servers from a sqp server database then store the results back into a sql server database. Need some help gettin started can i run the windows … | |
Hi, I read an excel sheet into a datagrid.From there , I have managed to read the grid's rows into a DataTable object.The DataTable object has data because when I make equal a grid's datasource to that table object , the grid is populated. My Problem : I want to … | |
I wanted know if there's a way in c++ to know what character exists at a particular x,y coordinate. for eg: suppose i used [B]gotoxy(2,5)[/B] and my cursor is now at (2,5) and i want to know what character exists next to my cursor at (3,5). How can i know … | |
Alright, i hope someone can give me a straight answer. How do i export integers to another function? Because when i compile and run this code, i get an error telling me: "[code]12 D:\test.cpp `numberr' undeclared (first use this function) [/code] The code i used was kinda like this : … | |
i was wondering if anyone could direct me to a good beginners book for C# that is good for beginners (basically 0 programming exp) as well as free. I downloaded the free version of visual C# express edition and was hoping to find a very beginning guide of programming with … | |
I am trying to implement the GSL uniform random number generator into my C++ program. Below is my entire program and I am having difficulties getting it to run properly. Any help would be greatly appreciated. Thanks for your time! [code=cplusplus] #include <stdio.h> #include <iostream> #include <math.h> #include <cstdlib> #include … | |
i am pretty new to assembly language and i wonder what is difference between the final binary output of the same program written in c and written in an assembly if they do exactly the same thing. if the binary output is the same then why use assembly language? if … | |
Ive began a book to learn c++ and in the first chapter I ran across my first question(thats never good...). In the book it says I should use this same template in every single c++ program I EVER make. The template is [CODE] #include <cstdio> #include <cstdlib> #include <iostream> using … | |
Hi everybody, I am Tanmoy. I just wanna create a simple server-client chat application in C#. I have downloaded the source code from the link below: [url]http://www.codeguru.com/csharp/csharp/cs_network/sockets/article.php/c7695[/url] If the server & client both in same PC everything is OK. But if the client application tries to establish a connection to … | |
Hey guys, I'm new to C++ and in desperate need of help. I'm trying to write a program that is like powerball. I need to generate six random numbers. The first five numbers need to be in the range of 1-55 while the sixth number is in the range of … | |
I want to learn how to use stack and ques in c++, but I don't know how to start. Where should I look on the internet? Or does anyone have any ideas? | |
Hello. I'm charged with taking a site I helped create in VB.Net 1.1 to C#.Net 2.0 - I'm just starting to research this and wondered if anyone has done it and if you can direct me to some good material . . . I need to add a new module … | |
I'm looking for a very easy to use compiler that I don't have compile or download any other stuff for and on that is a GUI app. | |
Is it possible? What would be the classes to use to implement it? I'm just fascinated with steganography. :) | |
Hi guys, I'm currently doing a J2ME application that gets a JPEG image and sends it's bytes to a C# server via sockets. In the J2ME application, I can re-convert the bytes I sent to an Image and view it. On the server side, however, the SAME bytes cannot create … | |
I am having a hard time with my homework and I was wondering if someone could help. I have to create a program that uses a while loop to ask questions about a hotel. It first ask the number of the top floor then asks How many rooms are on … | |
Hi there, I just saw the thread about helping with assignments but I'm hoping you will be able to share your knowledge with me on this. We have had one week to complete this assignment and I'm beginning to worry I won't be able to finish it, I've tried to … | |
can someone make a simple program that prints numbers in series depending on the persons input .. for eg :- if input is 5 then output should be : 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 ....please help asap .. thank you … | |
hello everyone....i need some help,i am using c++ and vectors, and text files to create a library system and i have a problem.....i used a vector named v1 and i was trying to use an if else to assign a created vectors elements value to another value example like v[10] … | |
I am brand new at C++ and I have a programming assignment I have to do. I have to create a directed graph and perform a breadth-first traversal. I have to use an adjacency linked list implementation without using any existing libraries as Standard Template Library. Where do I begin? … | |
I am develping a program to create an rtf file.The rtf file will be having images in it that will form a border around the page. Here is the code so far: [ICODE] #include "rtflib.h" #include "globals.h" #include "errors.h" void main() { // Set RTF document font and color table … | |
Now, we all know that // makes a comment. But I have a question about the compiling of the program? Say you were to make a comment with a whole bunch of underscores to signify a different section of code. Does the amount of comments written in the source code … | |
Hello there, I just would like to ask what are the basic needs in order for me to develop a mail library using C#. I've been googling around for good tutorials in developing mail libraries but haven't found any decent one. Thanks! | |
Hi All, I want to know that, if i have developed a project using asp.net c# and i also in asp.net and code in vb.net, can i use any form of vb.net code in c#.net without any change? :) Please increase my knowledge. | |
Im trying to learn c++ in school but the book does not break it down FOR ME ENOUGH, could some body suggest a book like c++ for dummies or something that would really help me out. Im engineer major in my sophmore year and I have plenty more programming ahead. … | |
[B]Can someone provide me with a short list of the hardware requirements to implement a beta test version of a proposed search engine to be coded in C++?? What hardware will be required just to determine if the logic behind this architecture accurately returns the searcher's intent? As a startup … | |
Hi frnds, i have been programming for abt a yr now n used to consider myself gud wid c programming until i chked out this forum.... Some of U guys are fantastic. So i wud appreciate if ne cud gimme topics on c programming dat will hlp me hone my … | |
I have to redo Programming Exercise 5 of Chapter 9 using dynamic arrays. I have the problem but I don't know how to use it using dynamic arrays please help. //Chapter 9: Programming Exercise 5 [code=cplusplus] #include <iostream> #include <cstring> #include <cctype> using namespace std; int main() { char str[81]; … | |
Argh! I've been trying to work out this problem for an entire week and i'm now at my wits end! I'm supposed to hand in this assignment in 7 hours and am posting my problem here as a last resort. Can i please have someone's assistance in this? I use … | |
I compiled a very basic C# program (not pointers or memory related) inside my c drive using the command prompt. I just wish to know if this is a bad move? Is it better to save all programs to the desktop and run them through the command prompt from there? … | |
hello evryone, im new in C++ programing. currently i working on my final year project. at the first place, im study in INFO COMM. ,more specific in network management area but since my project is assigned by my lecturer and the project itself involved some programming skill, i gt to … | |
Hi, I am new to C++.Pls help me out.would really appreciate it. The problem goes like this. There are two files. In file1(say data1.txt)u have got something like this Line1:Hello How Line2:We are fine the work is grab each string and assign it with a binary file and enter it … | |
You will need to author two classes – Customer and Pensioner. Pensioner should be a subclass of Customer. These classes should be in their own files with separate header files. Details are below. Create a third class called Manager. The manager file can contain the main function. The Manager class … | |
Hi, Whenever a user types ./a.out with the wrong number of arguments I want my program to output something like Usage: ./a.out <-e/-d> <FIlename> <Value> how can I do this? | |
ESR is blogging again: [url]http://esr.ibiblio.org/?p=532[/url] [edit]And don't skip the comments. | |
help. I do everything in C++ with STL but I have to utilitize legacy C functions within my member functions (methods). The legacy C function signature is... extern int UF_DRF_create_label( int num_lines_text, [B]char text_string[ ][132+1][/B] , double origin_3d[3], UF_DRF_leader_attach_type_t leader_attach_type, UF_DRF_object_p_t object, double model_pos_3d[ 3 ], tag_t * label_tag); My … | |
Hello everyone, On my webbrowser when it displays webpages the text is larger than normal and the whole page doesn't fit into the webbrowser and requires scrollbars eg google homepage. This doesn't happen when I view the same page in Internet Explorer. Does anyone have any suggestions as to how … | |
Hi Everyone. I'm kind of new. For some weeks I've been studying cpp using devcpp and it worked just fine. I changed my PC and now I am trying to program in Builder c++. I am reading a Builer tutorial and Im doing OK with the frames and all of … | |
Hi, People can you please help me on how to start the connections using SQL Server and C#.NET. I have the following tools in my PC but I don't know how to start,from the very beginning. Can you please send me a link on how to start. Badly needed. Your … | |
hi guys, I want to call win32 dll in C#. It has parameters encode(char *argv[]). what i have to write in in C# in the placa of char *argv[]. I have make my efforts see my code below but vain. [code] // in C++ int ConvertBinToAmt(char JFIF_NTSC_XML_File1[],char JFIF_NTSC_XML_File2[], char DestinationFolderName[],char … | |
Hi, how to declare optional parameters in C#. Like... public void test(int a, Optional int b) Thanks in advance. | |
Hi everyone! I'm kinda n00b in C/C++, All I ever did were some basic programs for some .txt files manipulation. Last time I was working in BC 3.1, about for years ago. Now I got Borland Turbo C++ Explorer 2006 and is a little hard for me to start a … |
The End.