19,876 Topics

Member Avatar for
Member Avatar for mark261511
Member Avatar for Khan2014

Hi, I have some experience in c# and would like to get more experience of C# with sql, because alot of jobs look for databases. Can anyone me recommend any good books or online tutorials for begineers. Thanks alot,

Member Avatar for James E
0
136
Member Avatar for sammis

How to Add a search button in C# after that how to link the searched information to further. for example: if i search name then how can i link the name to photo and other specfic information in new popup box or new form?

Member Avatar for Mr.M
0
127
Member Avatar for doris_3

A variable of type double named area holds the area of a circle. Write a statement to output on the screen the area in two decimal places

Member Avatar for rubberman
-1
134
Member Avatar for fasihahshaharil
Member Avatar for rubberman
0
107
Member Avatar for dvamshi0608

if a function recives 3 pass-by-value parameters, how many actual parameters should be in call statement?

Member Avatar for rubberman
0
177
Member Avatar for brandon66

Hey guys, seems like im doing something wrong here 2 occurs 4198861 times* in an array of size 100, i need another set of eyes if anyone can point me in the right direction #include <stdio.h> //proto void printOccurrence(int countArray[], int countSize); //main int main(void) { //variables int arraySize = …

Member Avatar for Moschops
0
200
Member Avatar for Smn

Beginner's question : How is c different from c++? what are the differences? Which one shoul i go for , if i know basic oops (just basics)? **plz provide some genuine answers rather than simply "google"ing ..... I have searched a bit and not yet satisfied.**

Member Avatar for rubberman
0
141
Member Avatar for Muhammad_75

welcome everybody, i am able read my file by asking the filename from user but i am facing a little problem,When i type a name of file which doesnot exist,compiler also shows it with some zeroes, this is my program, please help me,having problem in case 2... #include <fstream> #include …

Member Avatar for mike_2000_17
0
241
Member Avatar for BegginerLance

Hello there? im starting to learn C# language and i really enjoy it, and my teacher wanted us to search a code that can determine an inputed number up to 10 what is lowest and highest. please sir/ maam i need a response (sorry if i don't have good english).

Member Avatar for BegginerLance
0
154
Member Avatar for Ahmad Imran
Member Avatar for Smn

I have created a sample program on C.When i try to run on a different system (win 7 64 bit) it is asking for x64 version of the file (of the executable file created ). P.S. - I am not talking about the compiler, but about the executable file created …

Member Avatar for mike_2000_17
0
3K
Member Avatar for Adam_21
Member Avatar for markdean1989

I wonder why this program does not do any changes to the text file that I am trying to modify. Scenario: My program uses the Fstream header file, I declared infile as IFSTREAM and outfile as OFSTREAM. I simply want to transfer data from infile to outfile. The data is …

Member Avatar for markdean1989
0
522
Member Avatar for Ahmad Imran
Member Avatar for Duoas
-1
98
Member Avatar for Ahmad Imran
Member Avatar for Duoas
-1
232
Member Avatar for mtatadotcom

hello friends, may anyone help me with a code in c for the mechanism of using an atm machine, conditions 1.acc balance starts at zero 2.do not use global variables 3.loop the main menu after every transaction until user presses exit 4.after every transaction user returns to the main menu. …

Member Avatar for chandrasekhar77
0
6K
Member Avatar for PulsarScript

Hi all,here is the code c# Array.Copy,what does the o means in the code block? using System; class Program Hi all what does the 0 means in the code block? using System; class Program { static void Main() { int[] values1 = { 4, 4, 4 }; int[] values2 = …

Member Avatar for deceptikon
0
558
Member Avatar for khloud.alharazi

using switch statement writing a program for simpe calculator having functioinalities of finding addition,subtraction,division,square,cube and square root for any tow numbers obtained from user? `Inline Code Example Here`

Member Avatar for rubberman
0
73
Member Avatar for PulsarScript

//Hi all just switching from c++ to c#.Can anyone help,with the question i have: //this is a peace of code from c++ banking aplication int ShowMenu(void); void AddAccount(vector<CAccount*>& list); void DisplayAccount (vector<CAccount*>& list); void Lodgement (vector<CAccount*>& list); void Withdroawal (vector<CAccount*>& list); void InterestRate (vector<CAccount*>& list); CAccount* findAccount (vector<CAccount*>string ); bool …

Member Avatar for ddanbe
0
2K
Member Avatar for Rahul47

As a part of my assignment I need to solve a problem in which I have to take space seperated inputs. I have already done my homework and stuck at a point where I have to take space seperated integers when number of integers are not predecided i.e whether there …

Member Avatar for Rahul47
0
215
Member Avatar for markdean1989

Hi I am working on a simple C++.Net project which will allow me to run another program (e.g., I. Ex., Word etc.). However, I can't seem to find any working codes online. Here are the codes I have found so far; ShellExecute(GetDesktopWindow(), "open", "c:\myTestFolder\myfile.exe", NULL, NULL, SW_SHOWNORMAL); requires the inclusion …

Member Avatar for markdean1989
0
342
Member Avatar for My_1

I dont know if this a right place to ask but anyway here you go: I am trying count all occurrences word are that are in the file but i dont know how to do it but I can only do in like user have input in not from a …

Member Avatar for glenn_3
0
174
Member Avatar for nitin1

Can anyone give me an idea how to do this? I have a list(C++) of bytearray and I want to fire a post request to the server using CURL library? I have searched a lot and they say to set the CURL_POSTFIELDS but that requires a char * field. I …

Member Avatar for glenn_3
0
145
Member Avatar for better.atbcs

Can anyone please convert this to Javascript? function execute(array $ops) { $stack = new \SplStack(); foreach ($ops as $op) { if (is_numeric($op)) { $stack->push((float) $op); continue; } switch ($op) { case '+': $stack->push($stack->pop() + $stack->pop()); break; case '-': $n = $stack->pop(); $stack->push($stack->pop() - $n); break; case '*': $stack->push($stack->pop() * $stack->pop()); …

Member Avatar for glenn_3
-2
169
Member Avatar for Jack_11

Hello! I'm a programmer that mostly just writes code for operating system kernels, and device drivers. I was wondering how much most people would get paid for doing so.

Member Avatar for glenn_3
0
151
Member Avatar for Leslie_1

Sqlite is a single user database application. It has many capabilities. It would be appreciated if either a link to an example, or some sample code could be shown for creating, inserting and querying a database.

Member Avatar for glenn_3
0
103
Member Avatar for Luisa_1

Hello everybody, I'm searching for a book or a documentation that includes all the librairies ,and their functions, of the C++ programming language. thx

Member Avatar for rubberman
0
179
Member Avatar for doris_3

Implement a C function that can perform addition of two 15-digit (positive) integers. As in C the maximum integer number that can be stored in memory is 2147483647 it is not possible to use primitive data types in order to add very large whole numbers. For this reason, you are …

Member Avatar for Jack_11
0
216
Member Avatar for Rimas_1

Hi, I need to read text from file and then as outcome show separate words, but shuffled. I tried few codes but non of these works for me. I'm getting output, but it do not shows words, but some signs only. I'm posting both codes.. #include<stdio.h> #include<string.h> #include <stdlib.h> #include …

Member Avatar for sneekula
0
213
Member Avatar for nitin1

I am damn confused between these two terms. Can anyone explain this using some example? Thanks in advance.

Member Avatar for mike_2000_17
0
2K
Member Avatar for iqra_2

A bank in your town updates its customers’ accounts at the end of each month. The bank offers two types of accounts: savings and checking. Every customer must maintain a minimum balance. If a customer’s balance falls below the minimum balance, there is a service charge of $10.00 for savings …

Member Avatar for rubberman
-1
143
Member Avatar for nitin1

This problem is troubling me from so long time. There are N scientists, K black holes, and any scientist can query about radius, size and temperature of any blackhole. You have to answer three kinds of query basically: 1)Given Scientist queried for which blackholes,Given scientist queried for which attributes 2) …

Member Avatar for nitin1
0
157
Member Avatar for nitin1

int find(int x) { for(int i=0;i < n; i++) { if(a[i]==x) return i; } return -1; } int find(int x) { for(int i=0;i < n/2; i+=2) { if(a[i]==x) return i; if(i+1 < n && a[i+1]==x) return i+1; } return -1; } int find(int x) { for(int i=0;i < n/3; i+=3) …

Member Avatar for Duoas
0
211
Member Avatar for khadikhel.orakzai

write a c++ program that will do the . Enter 10 integer . Pushing on stack and poping on user choice . pushing on queue and poping form queue . Bring the integer in order. Display the calculator selecting oprtion by user choice (+,-,*,%)

0
92
Member Avatar for XodoX

When I have a simple server-client code, how do I get the client to send the server a time request and the server responds, and the client then displays the offset and the delay ? The communication should be in NTP. I think that means there are 4 time stamps, …

Member Avatar for XodoX
0
345
Member Avatar for markdean1989

*** Systems *** OS: Windows 8.1 64bit IDK: MS Visual Studio Express 2013 for Windows Desktop Problem: I created a simple (very simple) User-defined function named func_compare that compares two numbers, it has two parameters of type Integer. It has no errors whatsoever until you compile it, and it says …

Member Avatar for markdean1989
0
324
Member Avatar for ramyking
Member Avatar for lyons18

There is any way to create a program in C which will be able to translate words using google translate or bing translator? I've already downloaded curl library (Ubuntu 14.04), but don't know exactly how to start in pure C. I'm beginner programmer. Thanks for help.

Member Avatar for vegaseat
0
283
Member Avatar for avishekh.bharati

I am familiar with java. but now i want to learn either of these. so which would be better to learn??

Member Avatar for vegaseat
0
194
Member Avatar for CharAmel

Hi everyone! I am making a program in C where the user will input a month then the program prints out all the names of files created in that month. Right now I'm having trouble in printing the names of files. Here's a portion of my code. Can you help …

Member Avatar for vegaseat
0
258
Member Avatar for Vahid_1

Hi, Let's say I have an array of 10 elements. I want user to enter 9 numbers so that they fill arrays 0 to 8 (9 numbers). Now I shift the arrays +1. so array[0] is now array[1] and so on. Now I ask user to enter 10th number (fills …

Member Avatar for Vahid_1
0
5K
Member Avatar for apkrieg

Okay, so this is my current code: #include <stdlib.h> #include <stdio.h> #include <stdint.h> struct Display { int width; int height; char **array; }; struct Display *display_create(int width, int height) { struct Display *display = (struct Display *) malloc(sizeof(struct Display)); display->width = width; display->height = height; display->array = (char **) malloc(sizeof(char) …

Member Avatar for apkrieg
0
357
Member Avatar for verse.ability

hi below is a switch case that is suppose to go to the next "hep" # and show a message... so if hep is 0 it shows one message, if hep is 1 it shows another, etc. I have it showing a message for 0, and 1, but it ALSO …

Member Avatar for verse.ability
0
374
Member Avatar for CharAmel

Hey! I'm a beginner and I am making a code about getting the directory of a file, but I have something that I don't understand. What's the meaning of "./" in `DS = opendir ("./");` I have searched a lot of sites about C programming, but nothing gave me a …

Member Avatar for rubberman
0
140
Member Avatar for EdJones

What's a good book to learn C if you already know Python and are comfortable with computer science terminology? I'd like a book that is downloadable as a .pdf free of charge but an html book viewable online free of charge would be fine. Also, is there an advantage to …

Member Avatar for tabanpanoam
0
278
Member Avatar for nitin1

**With a 2^32 address space and 4K ( 2^12 ) page sizes, this leave 2^20 entries in the page table. At 4 bytes per entry, this amounts to a 4 MB page table, which is too large to reasonably keep in contiguous memory. ( And to swap in and out …

Member Avatar for Moschops
0
201
Member Avatar for masterinex

why this code not work ?? # include <stdio.h> void get_values(float *r, float *v); float do_calculations(float resistance, float voltage ) ; void display_answer(float current); main() { float resistor; float volts; float current; //explain_program(); get_values(*r, *v); current = do_calculations(resistor, volts); display_answer(current); } void explain_program() { printf("This program calculates the current in …

Member Avatar for rubberman
0
651
Member Avatar for My_1
Member Avatar for ameer.idreis

I am using Visual Studio 2013 and can't install any libraries(for school purposes)... I would like to display an image of any extension as long as it is an image (jpg/png/bmp...) I've been looking around forever now and just want to put display an image in my application. I am …

Member Avatar for HiHe
0
290

The End.