I want to create a link list that has two record,
and insert another record in between the two.
However my program is not working properly in the sense that the linked list did not really re-link...
Type: Posts; User: Hybodus
I want to create a link list that has two record,
and insert another record in between the two.
However my program is not working properly in the sense that the linked list did not really re-link...
Wow thank you. I have no idea what I was thinking.
Hi guys I'm trying to write a program to convert ASCII code into binary but it is not working properly.
#include <iostream>
#include <cmath>
using namespace std;
int main()
Hi I am trying to run a program that will find the word "Son" in a text file and change it into the word "Gun, but apparently it is not working because the function putback() doesn't seem to be...
Hello Guys, I just downloaded visual studio 6 but it appears that it is not working well.
I started my first program based on this guide: Introduction to Visual C++ 6
Followed all the...
The problem asks me to write a c statement that will assign an int variable a random number from [25, 50, 75, 100]
I am thinking of using rand() but I'm not sure how
perhaps?
for (int i = 0;...
The assignment requires me to: Write a function Length with parameters argc and argv that returns the average length of the program's command line argument.
So here is what I did:
int Length...
Consider the following code:
#include <stdio.h>
int main (int argc, char* argv[])
{
int i;
for (i = 0; i < argc; i++)
{
Thanks alot!
Hey thanks guys for the responses. But the main problem I have is that since "s+k" == "&s[k]" (or at least I hope they are equivalent), why is the printf function able to print out the string instead...
Say we have the program:
#include <stdio.h>
void binary_representation (int n)
{
if (n != 0)
{
Suppose we have written the code:
void printString (char *s);
int main
{
char *t = "num123";
printString(t);
For example the problem asks me to:
Write a complete C function named findItem, the prototype of which is given below, that returns the pointer to the first occurrence of an integer value item...
Thanks a lot you guys, I'm new to C and passing-by-reference is a big challenge for me as well as pointers...arrays and alot of things. And sorry for the confusion there but the problem is quite...
The problem wants me to create a main function that allows users to enter a list of numbers, then create a function that finds the largest entry in magnitude then switch the largest entry that I...