I'm new to C and I'm having trouble with strcat. Can someone tell me why I get a segmentationFault error for the below code.
Thanks
char *str1 = "hello";
char *title ;
title = strcat(str1, "World");
printf("%s",title);
I'm trying to parse the filenames in a directory into file name and extension. I'm using strtok to do the parsing but I keep getting an Segmentation fault. My code is below. What am I doing wrong?
Thanks,
#include <dirent.h>
#include <stdio.h>
#include <sys/stat.h>
#include <string.h>
int...
I have a Legato tape back up system that I am trying to setup after a year of it being disconnected and turned off. When trying to perform any operation to the Tape drive (inventory, mount, reset, etc) I get a Input/Output error. I've tried reseting the system from the command prompt by using...
Ok. Lets say I'mm calling this generic method with a list of ScreenPoint -- removeRepeats(spList). spList is a list of ScreenPoint. I have already defined my class ScreenPoint and I have overridden the equals method to define equality they way I want. I have also tested the ScreenPoint...
I have a Generic class that uses a list it gets from a parameter. When I test to see if two items in the list are equal I get false even if they are equal. I have specified the equals method in the class that the list is made up of, but I can't get it to work. The generic class looks like...
When I try to update the DATs, manually or automatically, it fails. When I look in event viewer it shows a McLogEvent Event ID 258 "The update failed; see event log". Why won't the software update?
Thanks,
BRENT
I am trying to upgrade my EPO server from 3.5.0 to 3.6.1. Half way through the installation it errors out and gives me the error: An Unexpected error occured while running DBInit.exe troubleshooting code 333. Does anyone know what is causing this error and how I can fix it?
Also now I can't...
I'm trying to create a data access page that will allow me to add a record. I've added a button that has the add new record operation, but when I click on the button I get an error saying that I can't add a new record because the recordset is read only. In the group properties level I have...
I have EPO 3.5 installed on a windows 2003 server. My rogue system detection shows some of my managed computers as rogue machines and as having inactive agents. When I look at the queries, i can see the dats have been updated yesterday. Why are these computers showing up as rogue?
I have set up an EPO server for my company and everything seems to be working fine, except the rogue machine sensor. Computer keep showing up as Rogue machines that are already in my site list with an agent installed. They also show up in the Event log as having been updated the last time a...
I have developed a web site that users can upload file to a server. I have created a user account that only has access to log into the web servers. This account can't be used to log onto any other computer in the organization. When I try to log onto the website with these credentials I get an...
Is the input tag the only way to get info from a user on a web form? I'm trying to get info from a user on a web form using a drop down box, but I can't seems to do anything with the info they select. When the user submits the form I would like to be able to store the information into a C#...
That doesn't seem to be it. I don't think it can find the drop down list. I keep getting a compilation error: CS0103: The name 'selHospital' does not exist in the current context. selHospital is the name of the drop down list.
I have a web page that has a drop down list on it. I would like to store the value the user selects in a variable. I tried using dropdownName.Value, but everytime the script runs it errors out saying The name "dropDopName" does not exist in current context. How do I access that value?
Thanks,
I would like to use the right string function in a script I'm running on a webpage. I keep getting compile error. I assume that I need to import the class that has the right function in it. How do I get the right function to work in my web script?
Thanks,
I have a webpage that I use to upload file to a server. I would like to be able to store the filename the user inputs in the inputbox (type=file) into a variable in C#. How do I access the inputbox filename value?
Thanks,
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.