- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 3
Well well ! I'm a 2nd year computer science and Engineering student from India !
- Interests
- Reading books.Watching motor racing.Programming.I'm cazy abt cars and bikes!!
- PC Specs
- Dell inspiron 1545, intel C2D T6500... Windows, code::blocksC-FreeGCC
52 Posted Topics
I'm getting the following error Syntax Error: Token '{' is an unexpected token at column 6 of the expression [rForm{{] starting at [{4}]. My form code is as follows <form name ="rForm{{$index}}" ng-submit="rForm{{$index}}.$valid && rCtrl.saveResource(api)" style="margin-top:0%" class="form-horizontal" role="form"> I'm using {{$index}} since I'm making multiple forms dynamically. The final html … | |
Requirement is to enter rows into a table inside godaddy. Tables rows are generated as a part of another etl process which is not inside godaddy and the output of etl is a csv file. Currently a human is logging into godaddy cpanel, navigating to the corresponding db, clicks on … ![]() | |
just installed SQL Developer 4 and I'm using Oracle Database 11g. I want to execute multiple insert into statements in the worksheet at once. That works fine if I copy paste via command line of SQL but in Develop 4, only one row is being inserted at a time. Is … ![]() | |
For my OS lab we have linux at college and the question is to find the factors of a number and pass it use pipe function from child to main process. I googled up the syntax of pipe and I find it difficult to understand the idea. You need a … | |
[code]for(int i=0;i<=c;i++) { l=0; if(strcmp(findedge(tst[i],dfa[0][j]),"null")!=0) { strcpy(t1,findedge(tst[i],dfa[0][j])); //l=strlen(temp); strcat(temp,","); strcat(temp,t1); //temp[l+1]='\0'; //temp[l]=','; } } [/code] When I try to append comma or some other symbol to temp, a segmentation fault occurs. If that step is omitted everything works perfectly. This is code is from my program to convert NFA to … | |
I'm using turbo C++. For my SIC assembler I need to read user the input assembly language program from a text file.Each line of the program contains a maximum of 3 words , LABEL OPCODE and OPERAND. LABEL or OPERAND or both can be absent by OPCODE is a must. … | |
I'm using Turbo C++ v3 and I want to convert a string which contains hexadecimal numbers into a decimal integer. How do I do that? | |
For my SIC assembler written in C++ , I need a hexadecimal integer as the location counter. That is if LOCCTR=A and LOCCTR++ should store B in LOCCTR. Is there such an variable in C++? If so how do I make it Hexadecimal?? I know how to Initialize an int … | |
I want format out in cout , similar to the way printf supports the functionality. I read that iomanip can be used for that purpose. But the problem is at college we have to do in the ancient Turbo C++ and I dont think it has iomanip. I'm making an … | |
I'm making an SIC 2 pass assembler in C++. And I'm not very good at files in C++. The following code segment is supposed to read LABEL OPCODE OPERAND from the input text file . All it has to do is to identify each of those based on the tab … | |
I used to write PL/SQL programs in oracle 9i.Since windows 7 doesnt support it, switched to oracle 10g express edition. All my SQL programs are alright. But I cant put mutiple queries on a single run though. Like insert into many rows. But PL SQL programs are going crazy. Too … ![]() | |
Overload new and delete operator to manipulate objects of Student class.Class Student must contain data members like char * name,int roll_no,int branch etc.The overloaded new and delete operator must allocate and deallocate memory for the student class object and its data members. Here is my code. The problem is that … | |
Re: Tell us what your problem is , paste your code no matter how wrong it might be , and then we'll help you | |
Suppose I have a simple program to find the largest of two numbers of different datatypes and return the largest.I'm implementing it as a template to support generic datatypes [code] template<class T,class U> T max(T t,U u) return (t>u?t:u); int main() { int x=70; float y=100.5; max(x,y); return 0 } … | |
class vector { int *v; int size; vector ( int m ) { v=new int[size=m]; for(int i=0;i<size;i++) v[i]=0; } vector( int *a) { for(int i=0;i<size;i++) v[i]=a[i]; } }; int main() { int x[3]={1,2,3}; vector v1(3); vector v2(3); v1=x; v2=y; return 0; } My doubt is , how can the constructor … | |
I'm new to generic programming and I just cant figure out what is wrong in this . The program is supposed to make a linked list using class. I have used 2 classes so that a single object of class LL can be used to manipulate a linked list . … | |
Guys , I'm a newbie Java programmer .. 3rd year comp sci engineering student and a C++ programmer with around average programming skills I should say :D !I find it kinda weird that reading something from keyboard is such a pain in java .. Importing DataInputStream , the creating and … | |
I was asked to create a circular linked list of names . My doubt is whether I can use two pointers , one to point to the first node in the list(start and other to the last node) or not! Is the use of two pointers against the whole idea … | |
Hey guys, I'm making a small game on c++ using code::blocks.I use winbgi graphics for doing it. Its basically a ball game like dx-ball. I am an amateur programmer and I did upto making a moving ball which will rebounce whenever the boundaries of the screen are encountered.My method is … | |
Re: The basic principle is the same as the normal sorting algorithms .. There are many .Its better to start off with bubble sort and selection sort . You can use an array of pointers to store the strings and then compare them using strcmp implement the sorting algos | |
Hi , I'm an amateur programmer from India. I use code::blocks for my c/c++ programming. I would like to create a simple 16color bitmap file reader in c++ . The hraphics library I use is winbgim . I'm a very beginner in graphics programming. I just know how to set … | |
I bought a Dell inspiron 1545 just about an year ago.It was working smoothly till now.A few days back I installed windows 7 and the eject button on the keyboard started having problems.At times it wont work , a reboot might solve it , but the problem keeps on show … | |
I am planning to create a simple bulls and cows( also know as mastermind board game) in C.The computer is supposed to make 4 digit code in which the allowed digits are 1,2,3,4,5,and 6 ! 0,7,8,9 are to omitted !! How do I make the computer create such a 4 … | |
I am looking for a good and neat looking C compiler ! Can I do ANSI C programs in Microsoft's Visual C++ 2010? If then ,HOW? please give me the step by step instructions to accomplish that task? Are there any other good compilers? is dev c++ good enough? Right … | |
I have been advised by many people that it is better to use integer return type for main function instead of void ! I actually dont understand what return 0 means .. main returns 0 value to program ! What does that mean ?! Could you please help me understand … | |
I have been advised by many people that it is better to use integer return type for main function instead of void ! I actually dont understand what return 0 means .. main returns 0 value to program ! What does that mean ?! Could you please help me understand … | |
I am a 2nd year Computer Science and Engineering student from India .. My Computer Organization sir gave this statement while teaching implementing parameter passing using stacks mov Ro,20(SP) To me it looks to be incorrect ! How can you move an item to any location other than the top … | |
Re: but what if the 1st number in the array is the largest? so max should be assigned to 0 , right? if max is intialised as the first element of the array, then if the 1st element is the largest then 2nd largest will also be that number only, right? … | |
hi,I am an amateur c programmer.I am using turbo c++ v3.1 compiler. here is a simple program to input and display name and address.. There are two problems in my program 1) telephone number is too long for int and it displays some weird value.. so i tried long int, … | |
Here is a program to find the sum of n numbers entered .. I have done this programme in c++ but now I was asked to do it using c.. there is some error with the program.The basic array input ,display thing itself is not working.. Kindly help me .. … | |
I have been doing TC++ programing for the last 2 years.. This evening all of a sudden I made the switch to vc++.. here is the code.. my first ever Visual C++ programme.. it is compiling without errors but the console window poped and disappeared quickly.. what is wrong? something … | |
Hiii..I want to know more about my PC's[Intel dual core] motherboard and the ram......Please help me..! Wanna knoe the brand name,version..etc...How can I get the information without opening up the CPU and I dont want to install any programs..! Is there any way?...Please,please help me! | |
my dell inspiron 1545 has vista home basic. now, how do I get windows 7 home premium? can I upgrade? how much will that cost? | |
hiii...Last week my pc got attacked by some viruses..though avg 8 was already installed it wasnt able to kill that virus..so i switched to kaspersky AV 2009... That did the trick... kaspersky killed all the viruses.... but now XP sp2 is reinstalled and McAfee 8.5 is installed... it has an … | |
hi friends, I am an amateur C++ programmer... I am using turbo c++ V4.5.. after reading about the google code breaking thing on the internet, i became interested in simple substitution cipher.. the one using a keyword..I know the logic behind the program. yet I need your guidance about execution … | |
hello friends, a fews back I bought a brand new dell inspiron 1545, with core2duo t6500,3 gig ram, windows vista home basic. The built in bluetooth device was working perfectly utill now.. but today i noticed that the bluetooth icon is missing from the task bar system tray.so, i am … | |
Which is the best FREE antivirus..? The one with best protection.. ! | |
Hi... Do you remember me? Am the amateur programmer who disturbs you with my never ending doubts.. :D As you guys advised I have decided to start learning c++ from scratch..! ;)As far as am concerned Files in c++ is the most difficult part in c++ in my syllabus ..! … | |
The following is a code that my teacher gave me .. I dont know the working of files in c++ :( this program is supposed to copy a datafile into another.. but its is not working ... many many errors.. fname1 and fname2 are already existing files,right? or fname2 is … | |
Hello friends.. I am an amateur programmer in TURBO C++ .. It is a very old version v3.0 ... I am beginner.. I wrote a very simple programme to find the largest ans smallest element in an array . . The largest element finding process is working finely .. I … | |
Hi friends.. Last day at school my teacher gave the following code.. But it is not working.. 16 errors.. I am a beginner in C++ .I badly need your guidance a help in finding the errors... the for loops is all wrong.. To be frank I don't understand the working … | |
hey friends, here is a code that I made to find the prime numbers in an array.. What the program is supposed to do is check whether the number is PRIME or not.. The position of the element is specified and the program finds and check the element in that … | |
Hey friends, I am very concerned about my PC's security.... And i hate viruses and spywares . I am now using AVAST HOME V4.8... Has it got an anti spyware? is it the best free AV software? I cant afford to buy an antivirus like Norton.. so am using freewares... … | |
Hii Everyone... I used to be an active member of this community... but because of studies i wasnt able to keep in touch with you guys.. Am an amateur programmer,and i need your help... I have written a programme to find nCr[n combination r] nCr=n!/(n-r)! I want the compiler to … | |
Hiii I have installed Kaspersky Internet Security 2009... Now my doubt is,should i install another firewall? like windows defender along with kaspersky...?has kaspersky got a reliable firewall? Now,should i install McAfee site advisor? is it a freeware? should i go for any other site advisor? If so which one should … | |
Hiii I just made a small [B]Memory game[/B] with the help of many of the members of [I]daniweb[/I].... Now I have a screen clearing problem... The program is simple...The compiler shows random numbers,then the user inputs the number within a time limit... there is a scoring key.... but I want … | |
Re: Hiii am an amateur programmer.... I was trying to create a memory game... already started a thread on it... now I am in need of an input ouput alternative for cin/cout... cin waits till the user enters the answer... but is there any input method which wont wait for the … | |
Hiii I m just a beginner in C++...Was using turbo c++v3.0... Now just installed Visual c++ 2008 express edition.... Anyone please let me know the main differences between TC++ and VC++?.... how can i make a simple programme written in tc++ run in vc++..which are the modifications?... ".H" could be … | |
hii friends..Am new to this community... am a computer science student... I need your help in creating a small c++ game... Its a project for me... I am told to do it in turbo c++... okay... the game is so simple... [U][I][B]A number memory game... random numbers should be displayed … |
The End.