8,298 Topics

Member Avatar for
Member Avatar for saad749

How to correctly/standardly define schema for neo4j database in my C# application? In my application, I have nodes with properties and relations with properties. I want to define templates/Classes of these nodes and relations that can then be created and related at run time and retrieved as objects of a …

Member Avatar for saad749
0
319
Member Avatar for RinzLove

Hi all, I'm new to SiteFinity Thunder and wanna know how to use it in my current asp.net c# mvc project. I wanna use custom layout for my homepage using Sitefinity Thunder. Currently I've made registration/logiege

0
61
Member Avatar for Yogesh_5
Member Avatar for Yogesh_5
0
216
Member Avatar for regash

hello every one,,,ihave no experience in c# and iam designing a c# app that insert,update,delete and select data from and into remote database using sql server 2008,so i want some tutorials about c# connection with sql server please help me and thank you.....

Member Avatar for Mike Askew
0
136
Member Avatar for @di007
Member Avatar for Assembly Guy
0
112
Member Avatar for vaishali.k

Write a C++ program that can take either two integers or two floating point numbers and outputs the smallest number using class, friend functions and function overloading.

Member Avatar for yazan.quraan.39
0
157
Member Avatar for Carlos_9

I NEED HELP PLEAS #include <stdio.h> #include <stdlib.h> #include <string> #include <ctype.h> #include <iostream> using namespace std; struct Player { int yearsPlaying; float playerPay; string playerLastname; string playerAge; string playerName; char playerNumber[100]; }; const char fileName [] = "Players.txt"; void createFile(void); void printPlayer(struct Player*pi); void writePlayer(FILE *fp, struct Player *pi); …

Member Avatar for deceptikon
0
231
Member Avatar for Nagy Razvan
Member Avatar for deceptikon
0
42
Member Avatar for CoolAtt

Hi all, i read that the .net framework is a wrapper around the win32 api. can someone please clarify the following for me: 1.if .net is a wrapper around win32 api it means we are able to do everything with .net that we used to do with win32 api. then …

Member Avatar for deceptikon
0
304
Member Avatar for sutty8303

I need help with this program. here is what we are supposed to do. The program should prompt the user to 'Please enter numeric grade: '. The program will then pass the numeric grade to a function that will convert to a letter grade. This function should have the following …

Member Avatar for Faisal Kazmi
0
18K
Member Avatar for james.lu.75491856

class Timerange{ public: Start_time start; End_time end; Timerange(string initstring){ //initstring xx:xx X, x:x //X->weekday string current=""; unsigned short mode=0; string timeA; string weekday; string timeB; for(unsigned short i = 0; i<initstring.length(); i++) { char c = initstring[i]; if (c==' '){ if (mode==0) timeA = current; else if (mode==1) weekday = …

Member Avatar for gerard4143
0
268
Member Avatar for naamulhadi
Member Avatar for laila_2

I want help in my code ,, the program should search for all words in a string For example , if the string is welcome to pointers world come and see the magic it should print welcome come . Any One can help me to find a way to solve …

Member Avatar for laila_2
0
843
Member Avatar for H_beginner

I am trying to plot a graph in matlab using c++. But the matlab is only giving me an empty graph. void portfolio::viewGraph() { double value[20]; //store portfolio value double time[20]; //store time int i=0,j=1; double cash,p; ifstream in_file("transactionhistory.txt", ios::in); string c; while(in_file>>cash>>p>>c>>c>>c>>c>>c) { value[i]=(p+cash); cout<<p<<endl; time[i]=j; cout<<time[i]<<endl; i++; j++; …

0
178
Member Avatar for MOKSHo

write a template for a function called total . the function should keep a running total of values entered by the user , then return the total . the argument sent into the function should be the number of values the function is to read . Test the template in …

0
153
Member Avatar for Echo89

This is a function that generates a string of random characters to the length that you specify.

Member Avatar for 5n0wn1nja
0
7K
Member Avatar for yaser.jaradeh

Hello Guys i'm trying to stream a webcam feed using C# i searched on the web and didn't find a standard RTP library for dotNet so my question is: is C# the way to go or i should use Silvelight or Flash ... PS. i want the stream to be …

Member Avatar for Ketsuekiame
0
126
Member Avatar for Sumith Asanka

Hi Guys I have a problem while an error and rollback Please check this example if i have an error at **CreateClassPayment()** method, it will go and execute rollback function but it doesn't rollback the transaction at **CreateAttendent()** but will not go for next transactions also **formSMSContents() and UPDATESMSPORTAL()**,can any …

Member Avatar for Ketsuekiame
0
312
Member Avatar for qasim.khan.923724

Can anyone help me with this code i have started it but then I got confused thanks. Option 1: Create two-dimensional array choc_yourname[50][7] using the data in file chocolates.txt and print the values of this array on the screen Option 2: Calculate the average quantity of sold chocolates per day …

Member Avatar for qasim.khan.923724
0
144
Member Avatar for Mehak murtaza

there is a large busy cosmetic store. In store, for billing, there are four counters with four tellers (who deal payment etc) . A customer comes to the store and collects the things he/she wants to purchase and go to one of the counters to pay for purchase. If there …

Member Avatar for Ancient Dragon
0
234
Member Avatar for 759153

A weather analysis program uses the following array to store the temperature for each hour of the day on each day of a week. int temp[7][24]; Each row represents a day (0 = Sunday, 1 = Monday, etc.) and each column represents a time (0 = midnight, 1 = 1 …

Member Avatar for Assembly Guy
0
381
Member Avatar for Exinta

I am working on a project (simple phone book) for personal use. Basically, the contacts are displayed in a listview and stored in a XML file. I am having trouble deleting the last remaining item in my listview (listView1). So, let's say that I have got 5 contacts in the …

Member Avatar for tinstaafl
0
297
Member Avatar for GrantB

Hi Im still pretty new to c# and I have been struggling with a few things in assesment interviews. When I studied I wasnt exposed to csv files and retrieving specific data from those files... Is there anywhere someone could point to me to show me in the right direction …

Member Avatar for GrantB
0
154
Member Avatar for xXghostXx

hi all I had make this samll method to insert data from c# forms into my oracle database the code processed fine but when I go to sql developers software to check if the record has been inserted or not I found nothing... so whats wrong with it please thanks …

Member Avatar for pitic
0
826
Member Avatar for darrylnuyda

Hi Everyone. Can I ask your help? Actually I encountering the error The "connection is already open.". here is my DBconnect.cs public class DBConnect { public static string csConnect = "uid=root; database=membership; pooling = false; convert zero datetime=True"; public static MySqlConnection csCon= new MySqlConnection(Classes.DBConnect.csConnect); public MySqlCommand cmdCon = new MySqlCommand(); …

Member Avatar for KushMishra
0
3K
Member Avatar for andreagonz9

This part of the code in a program Im translating is giving me problems and I dont really know how to solve it. Could some one help?? does anyon know how to do it? void max(int int list1[], int list2[], int list3[], int n) { int j; for (j = …

Member Avatar for rubberman
0
220
Member Avatar for bhagawatshinde

Hi Guys, I am using access (.mdb) database in my windows application. When i am inserting values to db it gives me an error "syntax error in insert into statement" but it will work in SQL and access query analyzer. here is my code [CODE] string StrInsertToServer1 = "insert into …

Member Avatar for deceptikon
0
5K
Member Avatar for beginnerinneed

Hi im a beginner and just need some help solving this problem. i think its simple but have tried to figure it out but im getting no where. i currently have four text boxes to which i add data to, i then click the add and want to add this …

Member Avatar for hreylorbe
0
8K
Member Avatar for clasp1

Hi I just recently started learning about using the windows form application for C++. I am using Visual Studio 2010 and I have came across this problem. For instance, I am trying to read and write to a text file. Many guides suggest using StreamWriter^ and using namespace System::IO; to …

Member Avatar for clasp1
0
653
Member Avatar for kymera

i need the whole c++ programming code for this because am making mistakes in it everywhere i think so pls help me.................. (printing distinct numbers) write a program that reads ten numbers and displays distinct numbers (i.e., if a number appears multiple times, it is display only once). (hint: read …

Member Avatar for stevedaniel
0
240
Member Avatar for andreagonz9

Im having trouble translating this c++ program into pep8 assembly language if someone could help with at least part of it, I would appreciatte it, it would be extremely helpful thanks in advance # include <iostream> using namespace std; int get1(int list[]) { int j; int n; cin >> n; …

Member Avatar for andreagonz9
0
477
Member Avatar for MaddTechwf

I've successfully gotten authentication to work on my web application using LDAP. So nothing is technically wrong with my login. What I'm having trouble with is once I have verified that a user is in active directory, I need to check a database to see if they have an account …

Member Avatar for MaddTechwf
0
294
Member Avatar for COKEDUDE

I am trying to print a char array on separate line for each element. This is what I have tried and neither way is working. I would like the output to look something like. The array length is c c The array length is o o The array length is …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for Frank_5

//Description: Binary Search Tree with array implementation, it has inorder, postorder and pre order traversals. //Note: it is not advisable to use array in binary search tree because it consumes a lot of memory in the long run // instead use linked list this is just a reference to understand …

Member Avatar for surajsokasane
0
10K
Member Avatar for Lee_2

Hi basically I have been trying to set up the irrlicht engine with Visual Studio 2010 and after adding in the inlcude and library file paths it seems as though Visual Studio no longer recognises "stdafx.h" as a valid precompiler?? I know this has something to do with not being …

Member Avatar for Lee_2
0
272
Member Avatar for sandesh.ps.9

I'm developing an application in which i want the software to be executed at any place. So i want the database to be placed in one computer. This is the scenario. All the computers will be networked. Can i do this in c#.net ? Please tell me the procedures. Thank …

Member Avatar for deceptikon
0
302
Member Avatar for ryy705

Hello, I am very new C#. I am trying to log into [url]http://mls.momls.com/SERetsMonmouth/Login.aspx[/url] with the following code and I am getting a 401 error. My user name and password are correct. I can manually log in through the browser. But I am not sure about the code I wrote. It …

Member Avatar for Kumar_1
0
680
Member Avatar for pritesh.panchal.96
Member Avatar for KAMAE94

a C++ program that reads in two partially filled arrays. One array contains student IDs (with int type) and the other contains GPAs (with double type). The program will sort the two arrays according to the student ID and print out the results?

Member Avatar for iJimJones
0
160
Member Avatar for newbie14

I have my codes working where I got separate date and time columns. I would like to add one more column which have both date and time in. For the existing codes this how I did sprintf(all,'%02d:%02d:%02d.%06u%03u',CURDATE(),s / 3600, (s % 3600) / 60, s % 60, usec, nsec) I …

Member Avatar for newbie14
0
295
Member Avatar for castajiz_2
Member Avatar for dave.schroeder.906

I'm having trouble with this bit of code that I'm working on. I get an error code in my `parseit()`method that says, "not all code paths return a value". Ideally I'm trying to call my method and parse my variables from my textbox to return true when they're valid, then …

Member Avatar for Michael27
1
304
Member Avatar for christinetom

Hi everyone. Well, I'm overwhelmed with the amount of C++ books out there and own a few now. I'm specifically looking for a C++ Reference book which lists C++ STL libraries and functions like the orielly C++ pocket references on C++ or STL. Orielly's C++ in a Nutlshell looks pretty …

Member Avatar for mike_2000_17
0
384
Member Avatar for 9tontruck

class Base{ Base(); ~Base(); void doSomrthing(); } Class MyCLass : public Base{ std::string name; MyCLass(); ~MyCLass(); void init(); } MyCLass::MyCLass() { init(); //runtime error occurs with this line } void MyCLass::init() { name = "MyClass"; doSomrthing(); } I am having a trouble on calling child class' contructor. What is wrong …

Member Avatar for Moschops
0
205
Member Avatar for super.sam1
Member Avatar for rajol.singh1
0
636
Member Avatar for ragnacrap

I'm doing a C program where the user is asked to enter an employee number. I know how to make the program ask again if the number doesn't exist. However, I don't know how to have the program check it from a *.txt file like this. EMP10-1234,smith_john,2 EMP08-0321,kent_brenda,1 EMP10-0501,delcambre_kory,3 EMP11-0112,pregeant_mark,3 …

Member Avatar for ragnacrap
0
386
Member Avatar for mewoooooo

I want to use Stop-Process command (of PowerShell) in c#. I know how to use "Get-Process" command, But in the case of stop-process we have to give arguments(process name). In my case I am taking arguments from user in textbox. private void button2_Click(object sender, EventArgs e) { PowerShell ps = …

Member Avatar for Jake_3
0
50
Member Avatar for azwitsal

c++ program codes that computes for density, wherein mass and volume are asked from the user?

Member Avatar for kal_crazy
0
87
Member Avatar for johni700

I want to uploade image and also want to store in database.Please anyone help me and tell me the code or share some link of uploading image. thanxx

Member Avatar for ddanbe
0
184
Member Avatar for daino

Would anyone know of a C++ library which can enable me to encode and decode Ascii base 85 encoding? I'm having trouble finding one on the web. Thanks

Member Avatar for daino
0
1K

The End.