8,298 Topics

Member Avatar for
Member Avatar for bhagawatshinde

Hi guys, I am inserting value from xml file to access database the file is near about 6 MB (size not problem) but the file contains mathematics questions containing images(jpeg,bmp),equations(math type) so while inserting some questions it will give an error "Query Is Too Complex " can anybody tell me …

Member Avatar for thines01
0
219
Member Avatar for blackhat416

hey guys any one can help me plz................... Win or console App in C# ,as soo As possible ..............Tanx Write a simple TCP program for a server that accepts lines of input from a client and prints the lines onto the server's standard output. Compile and execute your program. On …

Member Avatar for skatamatic
0
629
Member Avatar for Cronicle8

Good morning, Here i am again, asking help to all of you that are able to help me, my problem is the following, i translated some code from C# to VB, mas the code in C3, what it does is change the wallpaper and it's style for Windows Starter, but …

Member Avatar for Cronicle8
0
235
Member Avatar for mylotech

I'm learning linked lists in C++. In an exercise I have to duplicate H time a give item. So I thought in this method: [CODE]void duplicaNodo(int item, int &H, Pnodo &L){ //duplica un nodo H volte, scorrendo tutta la lista Pnodo Temp, Temp2; if(L!=NULL){ if(L->info==item){ for(int i=0; i<H; i++){ creaNodo(item, …

Member Avatar for mazzica1
0
258
Member Avatar for six_sic6

Hellow. I have 3 variables 1. string query; 2. public static OracleCommand oracmd; 3. public static OracleDataReader reader; I have used these variables in a function [CODE=C#] . . . public void PreviousValue() { query = " select * from....... "; oracmd = new OracleCommand(); .... .... reader = oracmd.ExecuteReader(); …

Member Avatar for six_sic6
0
192
Member Avatar for mmazeemahmad

Hi all, i have a scenario in which there are two subscribed users (to database) in my web app.......now if one of it wants to send a message (just like mail but not sms) to another without using any email account...... but with the help of that website and some …

Member Avatar for hericles
0
325
Member Avatar for RavesCoder

Hello Daniweb users, i wanted to ask you guys , if you can help me with making a game with C++, Do you know how to do it? or any suggestions? I prefer RPG Game... So if you have any suggestions, could you help me? Thanks, Jordan

Member Avatar for jaskij
0
175
Member Avatar for bhagawatshinde
Member Avatar for peter_budo
0
279
Member Avatar for YourGamerMom

In my program you should be able to look around smoothly with the mouse, my code works, but I'm wondering if there is any better, smoother way of doing this. My code to get the mouse position as if the center of the window was 0,0 (LookAround() is the passive …

0
80
Member Avatar for mikeshadow

I need an algorithm that finds how many prime numbers are in a set interval; the interval maximum range is 1 000 000 so a brute force method of checking every number is kinda inefficient

Member Avatar for mikeshadow
0
506
Member Avatar for triumphost

In pascal, you can have something like the following: [CODE] type TPoint = record X, Y: Integer; end; TPointArray = array of TPoint; T2DPointArray = array of TPointArray; [/CODE] In C++ I tried to replicate this and failed miserably. [CODE] struct Point { X: Integer; Y: Integer; }; struct PointArray …

Member Avatar for triumphost
0
7K
Member Avatar for sam1

Currently sending emails and setting the Return-path of an email(System.Net.Mail) works if i put : [CODE]MailMessage msg = new MailMessage(); msg.Sender = new MailAddress("not-deliviered@sample.org"); msg.Headers.Add("Return-Path", sReturnPath);[/CODE] but if I send a successful email it would say delivered on behalf of the email above.... any ideas how to resolve this not …

Member Avatar for thines01
0
239
Member Avatar for Binod199

Hi, I am looking for Code Analysis Tools to test ATL Projects using VS 2005. so far i have evalutated following tools: 1. FxCop 2. PREfast 3. Cppcheck [B]Problems i Faced with these tools[/B]: when i use Fxcop it gives message "FxCop Engine failed to load". The project i am …

Member Avatar for MastAvalons
0
300
Member Avatar for Hajira Khanum

Hi everyone:) I am still not able to complete this:( can anyone please help!!! [CODE]#include<iostream.h> #include<conio.h> class bingo { public:int a[5][5]; void input(); void play(); }; void bingo::input()//input a 5*5 matrix { int i,j,num,check=0,l,m; cout<<"\n Enter numbers 1-25\n"; for(i=0;i<5;i++) { for(j=0;j<5;j++) { cin>>a[i][j]; num=a[i][j]; for(l=0;l<5;l++)//check if number has repeated { …

Member Avatar for Hajira Khanum
0
174
Member Avatar for thecoolman5

Hi. I am just wondering how to restore a number that is in scientific notation. So, take a number that is in scientific notation, turn it into standard form, and resave the variable in standard form. here is an example of outputing the variable amount in standard form: [CODE]n1.setf(ios::fixed); cout …

Member Avatar for raptr_dflo
0
246
Member Avatar for black22622

Turbo C++ is showing declaration syntax error with this statement. Help. void main() { test s; int ch,roll; char name[30],choice,join; clrscr(); It is showing the error with the ' { ' . I have used proper header files and stuffs, and this is just a part of my 700 line …

Member Avatar for raptr_dflo
0
4K
Member Avatar for demigodz24

C++(pointers) problem reads input strings from a file and that replaces all the vowels to the '&' character INPUT: file.in Hi there! Hi Damon!!! Hello. OUTPUT: file.out H& th&r&! H& D&m&n!!! H&ll& c++ program... just implement it to pointers... ATTENTION: PLEASE GIVE ME SAMPLE CODE SAME WITH THE PROBLEM SO …

Member Avatar for WaltP
-1
382
Member Avatar for torkolort

I'm creating a small java program that use some special graphics to draw a picture to a certain format. The program will be run as a jar file, and needs some graphics definitions as arguments at initiation. These definitions exist in a small C# class, and should contain only small …

Member Avatar for peter_budo
0
214
Member Avatar for dellat

Hello, I'm looking for c++ api example for ncurses programming and needless to say that it is not available except 7 part snake game development video on youtube which is a bit difficult for a noob like me to understand. GNU ncurse 5.9 documentation heading states that it has c++ …

Member Avatar for dellat
0
599
Member Avatar for jemz

Hi, I am new in this C#, and i need to know what are the first thing should i know in C#.and what program should i make for the beginners like me. Thank you in advance.

Member Avatar for jemz
0
211
Member Avatar for Lowchernhwee

well i check all the web, i still do not know how to save it as a jpg and if possible, load and edit a picture from jpg here is a simple code that i done for drawing...... [CODE]namespace @try { using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using …

Member Avatar for zeroliken
0
148
Member Avatar for thecoolman5

hi, I have this code: [CODE]#include<iostream> #include<cstdio> #include<sstream> using namespace std; int main (char argc) { float n1; char operators; string n2; float n2_act; float ans; cin >> n1; …

Member Avatar for thecoolman5
0
270
Member Avatar for thecoolman5

hi, I am making a calculator and i need a function that can detect a char in a string. In other words, i need it to detect a NON-number.[CODE]string n1 = "35+66/7"; int pos = -1; n1.find(char, pos+1); cout << char.n1_find << " was found at "<< pos << endl; …

Member Avatar for thecoolman5
0
634
Member Avatar for vyrte

hello i'm writing a program in c++ and i'm using linux. i use fork() in order to create a process and then i want to wait for the child process to finish so its something like that: [CODE]pid=fork(); if(pid<0) { cerr << "Failed to fork" << endl; exit(1); } if(pid==0){ …

Member Avatar for iamthesgt
0
448
Member Avatar for poolet

hello, My program works fine but I want every time that the user add a character int the calculation section the program will print an error message and will ask the user again... I have try a lot of different things but nothing helps me... for example static_cast() and other …

Member Avatar for WaltP
0
1K
Member Avatar for Ehtesham Siddiq

hi, i want to add some static text in my C#.Net code.But i want some text to be subScript and some to be SuperScript.. Please guide how can i do this?

Member Avatar for lxXTaCoXxl
0
487
Member Avatar for akenawell85x

I'm a student just starting my first C# class in school, our first assignment was to make a simple console app to convert temperatures from Fahrenheit to Celsius. Being the over-achiever that I am, I decided to make a second project and create a form app. It's a very simple …

Member Avatar for akenawell85x
0
221
Member Avatar for sharpsplit

Hello i need to write a program read a text file and store the data with text in the format of : name 14 6 name2 15 26 However i cannot use fopen() scanf() getline() or fgets(), it has to be done with only open() read() and strtok() i have …

Member Avatar for savoie
0
162
Member Avatar for krizhan4u

i already have sql database ,server,login,password,,,i have to check from visual studio windows form,,,,to check test connection

Member Avatar for thines01
0
32
Member Avatar for joy39

i have to write a c program which connects with the mysql database. i have installed visual studio c++ express 2010 and the mysql installer for windows. i have widows xp os. can anyone tell me the step by step process to connect to the mysql database. and give me …

Member Avatar for StephNicolaou
0
89
Member Avatar for bluewhale628

Hello everyone! I am currently working on creating a Poker Simulation using the language C++. However, I am having issues with my swap function and also creating the conditions, such as declaring a Flush or Pair. Here is the code I have so far, and if you can assist me …

Member Avatar for Lerner
0
589
Member Avatar for bhagawatshinde

Hi Guys, I am developing an windows application but their is problem when package is installed on client machine mainly for vista and windows 7, i am set the screen resolution to 1024 X 768 but in windows 7 and vista if magnifying tool is large then forms get display …

0
69
Member Avatar for siaswar

Hi, I used C# and VS2010 for doing my projects. Some how, now I should write a program in C++ with database and GUI. The program's language is Persian, So Button's text and data in database should be in Persian. Please Guide me in this case. how to use Unicode …

Member Avatar for daviddoria
0
175
Member Avatar for Talli

Hello everyone, I am passionate about programming have started learning C++ and finished studying one book about it. I am done with the basics like pointers, arrays, variables, objects etc. What I need now is some way to go on from here and learn how professional programs are made and …

Member Avatar for Talli
0
477
Member Avatar for ilmkidunya

hey Dear members i want to learn asp.net but i am little confuse which is best for beginner any easy is it VB or C#

Member Avatar for ilmkidunya
0
459
Member Avatar for glut

Hello. I have a really weird problem. Whenever I try to get if the user pressed down on the mouse (clicked), via GetAsyncKeyState(), it only shows it some times. I tried the exact same code, but with another key Ex: A, and it works fine. Here is the code. [CODE] …

Member Avatar for glut
0
138
Member Avatar for suneye

Hello, I am not a completly new person to C# but I have some good background information about C# and it's contents. What i want is to be guided about what to solve how to develop my skills . can any one give me tips and put me on the …

Member Avatar for suneye
0
117
Member Avatar for Peelu pags

Can anyone help me in plotting EEG waveforms in C#??? I am a bit new.. I have got a libraray for plotting but really dont know how to plot

Member Avatar for Peelu pags
0
153
Member Avatar for compulove

I am trying to make a registration form that when a user enters in their information and clicks the submit button the information will go to someone's email. If someone could send me a website with tutorial on this or lead me in the right direction that would be great! …

Member Avatar for Pri Bhowmik
0
230
Member Avatar for mrnobody

Hi, I've been searching the net to try to find solution but i still can't find it despite searching it for hours. I've got a user control in a form. From the user control, I plan to do 2 things. 1) In the parent form, i got function example FunctionX(). …

Member Avatar for mrnobody
0
656
Member Avatar for Behseini

Hi guys, Having .Net Framework installed on target computer I can not run C# .exe file generated from VS 2010 express on other computer. Please find the image of error and installed .Net Framework on flowing [URL="http://behseini.persiangig.com/Exe.png"]Link[/URL] Can you please let me let me know why this is happening? Thanks …

Member Avatar for skatamatic
0
335
Member Avatar for sameerge

hi guys Can anyone write a C++ program for me which convert military time to standard time without using return function. write a simple program which start from #include<iostream.h> #include<coino.h> void main() { . . . . . . . getch(); }

Member Avatar for Narue
0
1K
Member Avatar for Despairy

Hi i would like to build a c++ game with SFML graphic library now i see sprites can move using floats ( sprite.move(+x,+y) ) how do i connect between the graph ( configured by a matrix ) and the graphic library? since the graphic library uses floats and set positions …

Member Avatar for Despairy
0
528
Member Avatar for c++_fem

Hi, I'm using Matlab 2011a and VS 2010. I have to call Matlab functions in my project. The problem is that I can't seem to find a solution works with my Matlab version. Has anyone succesfuly integrated Matlab 2011a with c#?

Member Avatar for c++_fem
0
381
Member Avatar for uchiha203

Hi, I would like to create a web-based directory using GridView. The concept is same on Windows Explorer where there are Folders and Subfolders. The thing is, I will be using it on Binary files on the database. I'm not quite sure about the database structure if the user is …

Member Avatar for uchiha203
0
226
Member Avatar for Despairy

Hi, i have a client which reads from the socket: [CODE] for (index=0;index<SCALERS;index++) { read(my_socket,vectorScalerPointer,BUFLEN); read(my_socket,resultScalerPointer,BUFLEN); sum+= atoi(vectorScaler)*atoi(resultScaler); }[/CODE] and a server program which writes to it. [CODE] for (index=0;index<SCALERS;index++) { sprintf(ascii,"%d",(*matrixStruct)._vector[0][index]); write(fd,ascii,BUFLEN); sprintf(ascii,"%d",(*matrixStruct)._mat[atoi(whichRow)][index]); write(fd,ascii,BUFLEN); }[/CODE] now the problem is the programs are in a "race condition" usualy the server …

Member Avatar for Despairy
0
173
Member Avatar for khajvah

Hello people I heard, that c++ is more powerful than c and i want to learn one of them. I want to know if it is better idea to start with C or with C++ without learning C. I know a bit of C# (i can make some basic games …

Member Avatar for zeroliken
0
256
Member Avatar for ddanbe

When you want to draw something on a form you need a Graphics object. But a Graphics constructor isn’t public and if that is not enough the Graphics class is also sealed! This means you can’t create a Graphics object via the new keyword nor can you derive from the …

Member Avatar for skatamatic
0
4K
Member Avatar for PoovenM

Greetings! I have a win32 native dll (perhaps that's not the correct term - it's basically a C compiled dll) that I'm accessing in C#. The method signature of the C code (not the actual signature in the dll): [code=C++] char* TestMethod() [/code] I'd like to access the [B]char*[/B] as …

Member Avatar for gusano79
0
639
Member Avatar for PoovenM

Greetings! I have a C# dll generated from a .resx file (I believe it's called a satellite dll). This stores simple key to string mappings (used for language localization). I was wondering if it's possible and feasible to access the information stored in the C# dll from a C++ unmanaged …

Member Avatar for PoovenM
0
952

The End.